Exercise 1.1.1 and More Calling Functions

Step 1: Complete Exercise 1.1.1 on paper.

Step 2: In DrScheme's Interactions Window:
a) Type your first and last name inside quotation marks. (For example, I would type "Adam Wittenstein"). Then hit enter.
b) Type the following: "Lab #2: January 31, 2006". Then hit enter.

Step 3: For each expression given:
a) Translate into mathematical notation and calculate its answer without DrScheme.
b) Show the translations to me.
c) Type the expression in Scheme notation into the Interactions Window to confirm your answer.
6. (/(+(- 2002 1965) (- 1999 1966)) 2)
7. (*(-(+ 22 12) (- 30 17)) 3)
8. (expt 10 3)

Step 4: To print, use File -> Print Interactions on the menubar. Then, hand me your assignment (the printout AND exercise 1.1.1) and if it's correct, you are dismissed.



Last Modified: 1/31/06