Unformatted text preview: and (PLUS -2 (MINUS 2) (TIMES X (POWER Y 3.3))) represent? (b) How are the expressions xyz + 3 ( u + v )-3 and ( xy-yx ) / ( xy + yx ) to be represented? 2. In the above mentioned graph notation, what graph is represented by the list ((A D E F) (B D E F) (C D E F) (D A B C) (E A B C) (F A B C)) ? 3. Write the list (PLUS (TIMES X Y) X 3) as an s-expression. This is sometimes referred to as “dot-notation.” 4. Write the following s-expressions in list notation to whatever extent is possible: (a) (A . NIL) (b) (A . B) (c) ((A . NIL) . B) (d) ((A . B) . ((C . D) . NIL)) 1...
View Full Document
- Fall '08
- Hanan Samet, LISP Written Assignment