## Problems 48 - 62

10/19
• 48  understand what the reward function returns for different values
• 49  You should be able to understand what the cond expression will evaluate to for different values of y.
• 50  add tests (check-expects ...) so that there is no black background when you run the program

Exercises 41 - 47 due

10/23
• 51 The traffic light for this problem is simply a box with a colored circle like;
• 52  The interval  (2  4] is that same as
or   2 < x <= 4

10/25
Rocket Problems 53 - 56
Ex 53  Ex 54  Ex 55  Ex 56

• 53  Make at least 4 drawings (on the computer) of a rocket at 0, HEIGHT, "resting", and some other height
• 54   Copy the definitions and the finished show function.  If you cannot figure out why it is an error, change the (string?  x) to (string=? "resting"  x) and run the show function with different values.
• 55  Write a function to  replace the three expressions.  Note what your variable(s) are (hint: what is changing?)

Due 48 - 52

10/29
Rocket continued

• Copy the code in the book to make a "working" rocket launch program
• You must read the code - it does not work like most students think it does
• Several of the programs have you modify the code
• problem 57 has you modify the program to work the way most students think that it should

10/31   Rocket continued

11/2   Finish Rocket problems

11/6

• 58 - write and use constants (similar to problem theater problem)
• 59  You can use the traffic light images given or you can use this version of the render program
• the bulb function is pretty clever - understand how it works
• the traffic light is resizable!
• 60 & 61 - use numbers instead of strings to represent the traffic light colors

Due 53 - 56

11/8

•  62 Door Closer simulation (basically already written for you)