Assignment 0: Finger Exercises
Before you tackle the homework, remind yourself of our
General Advice,
Advice on Homeworks,
and
Grading Guidelines.
Above all, keep your work neat and honest.
 Convert each of the following expressions into Scheme:
 4 + 6 + 7
 5 * (5 + 9)
 (4 + 9) * (8  7)
 ((a * a) + (b * b)) / 2
 Convert the following function definitions into Scheme:
 square(x) = x * x
 avg(x, y) = (x + y) / 2
 celc>fahr(deg) = 9/5 * deg + 32
 Evaluate each of the following expressions. Show every step. For example:
(sqrt (+ (* 3 3) (* 4 4)))
= (sqrt (+ 9 (* 4 4)))
= (sqrt (+ 9 16))
= (sqrt 25)
= 5
 ( (* 3 5) 20)
 (/ 44 (+ 8 3))
 (sqrt (square 6))
 (avg 6 10)
 (celc>fahr 100)
Kathi Fisler 
This page was generated on Fri Aug 27 17:01:35 CDT 1999.
