Homework 3, due 3 March 2008

1. Exercise 1.29, page 60.

2. Exercise 1.30, page 60.

3. Exercise 1.36, page 70. You can use the procedure call (newline) to print a carriage return-linefeed, and the procedure call (display n) to print the value of variable n. See the code in exercise 1.22 (page 54) for an example.

4. Exercise 1.40, page 77.

5. Exercise 1.46, page 78. Note: The test for termination of the fixed-point procedure will have to be rewritten so that it is a function of only one argument.