Guest User

Untitled

a guest
Feb 16th, 2019
143
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.35 KB | None | 0 0
  1. ;; Write the expression in prefix form.
  2. ;;
  3. ;; 5 + 4 + ( 2 - ( 3 - ( 6 + 4/5 ) ) )
  4. ;; -------------------------------------
  5. ;; 3 * ( 6 - 2 ) * (2 - 7 )
  6. ;;
  7. ;; A:
  8. ;; ( / ( + 5 4 (- 2 (- 3 (+ 6 (/ 4 5 ) ) ) ) )
  9. ;; ( * 3 (- 6 2 ) (- 2 7 ) ) )
  10. ;;
  11.  
  12. 1 ]=> ( / ( + 5 4 (- 2 ( - 3 ( + 6 ( / 4 5 ) ) ) ) )
  13. ( * 3 ( - 6 2 ) (- 2 7 ) ) )
  14.  
  15. ;Value: -37/150
Add Comment
Please, Sign In to add comment