Ex 1.1
10
12
8
3
6
no output
no output
19
#f
4
16
6
16
Ex 1.4
If b is positive, it adds a and b. If b is negative, it subtracts b from a. This is equivalent to a+|b|
Ex 1.5
Applicative order: Infinite loop (p calls p repeatedly)
Normal order: 0 (p never actually evaluated)
Ex 1.6
Because of applicative order, all arguments are evaluated. Thus, (sqrt-iter (improve guess x) x) will be evaluated no matter what. Therefore, the program enters an infinite loop, as the new call to sqrt-iter will do the same.