7. Numbers
Important ideas:
- Inexact numbers and
check-within
build3-image
orbuild-image
map3-image
ormap-image
(random 5)
gives 0, 1, 2, 3, or 4.- How to make a gradient, changing color smoothly from pink to light blue.
Everything you should know from Chapter 7.
Exercises.
Exercises working with number functions.
More exercises writing functions.
Planning and testing, not writing functions.
Bare-bones review.
Review of signatures, random numbers, random functions, math.
A reasonable quiz, maybe one half question too long. Extra credit for all homework being turned in.
Slideshow of exercises to learn max, min, abs, and random.
Making random numbers. Testing functions that use random numbers.