Dana Vrajitoru
C311 Programming Languages
Homework 1
Due Date: Thursday, September 4, 2008.
Note. The results of the entire exercise should be sent in
one file with the extension .el.
Ex. 1 Write a Lisp expression for each of the following
expressions:
- 10.0 / (1 + 14 * 2)
- the maximum of the numbers 12, 3, 8, 15, 9.
- test if 2*3.14 is greater or equal to 13/2.
- a list containing 5 names of trees.
- the first element of the list above by a function call
- a function call resulting in a string telling us how many minutes
are in a day. The minutes should be computed as a multiplication
directly in the expression.
Turn the Lisp Interactive mode on and evaluate each of the expressions
before sending me the file.