home *** CD-ROM | disk | FTP | other *** search
/ Chip 2002 June / Chip_2002-06_cd1.bin / zkuste / derive / download / Setup.exe / %MAINDIR% / Math / Arith.dmo < prev    next >
Encoding:
Text File  |  2002-05-15  |  957 b   |  42 lines

  1. ;Does operations on numbers like a calculator
  2. 5 (9 - 3) / 2
  3.  
  4. ;Uses exact rational arithmetic
  5. 1/2 + 1/6
  6.  
  7. ;Uses as many digits as necessary for exact arithmetic
  8. 5^99
  9.  
  10. ;Press the Esc key, issue a Factor command, then a Transfer Demo command
  11. 54!
  12.  
  13. ;Returns the principal root of square roots
  14. SQRT 9
  15.  
  16. ;Simplifies fractional powers
  17. (2/27)^(2/3)
  18.  
  19. ;Some of these simplifications are tricky
  20. SQRT (4 - 2 * SQRT (3))
  21.  
  22. ;Some of these simplifications are tricky
  23. SQRT (5 + SQRT 24) + SQRT (5 - SQRT 24)
  24.  
  25. ;i with a hat represents the imaginary SQRT(-1)
  26. SQRT (-1)
  27.  
  28. ;You can enter i-hat as #i and do complex arithmetic
  29. (1 + 2 #i) (3 + #i)
  30.  
  31. ;Complex denominators are automatically rationalized
  32. (2 + #i) / (#i + 1)
  33.  
  34. ;Fractional powers default to the principal root
  35. (-8)^(1/3)
  36.  
  37. ;Fractional powers of complex numbers are simplified
  38. SQRT (55/36 + 4/3 #i)
  39.  
  40. ;You can enter infinity as inf and combine it with itself or numbers
  41. inf + inf + 5
  42.