diff --git a/chapter_1/ex_2.rkt b/chapter_1/ex_2.rkt new file mode 100644 index 0000000..0b6f05c --- /dev/null +++ b/chapter_1/ex_2.rkt @@ -0,0 +1,11 @@ +#lang sicp + +;Translate the following expression into prefix (5+4+(2-(3-(6+4/5))))/(3(6-2)(2-7)) + + +(/ (+ 5 4 (- 2 (- 3 (+ 6 (/ 4 5))))) + + (* 3 (* (- 6 2) (- 2 7))) +) + +; the result is -37/150 \ No newline at end of file