home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format 98 / af098sub.adf / ci.LZX / ci / ci.readme < prev   
Text File  |  2004-09-01  |  2KB  |  72 lines

  1.    short: desktop calculator for complex numbers
  2.   author: thomas.radtke@uni-essen.de
  3. uploader: thomas.radtke@uni-essen.de
  4.     type: misc/math or misc/edu
  5.  
  6. Hi #?,
  7.  
  8.     This is ci, the desktop calculator for operations
  9. on complex numbers. To install, just copy it to c: or
  10. anywhere else in your command path. Call it with 'ci'
  11. and leave it by pressing 'Ctrl-\' (control backslash, EOF).
  12.  
  13.     ci accepts inputs in the conventional manner, that
  14. is, real and imaginary part are seperated by addition or
  15. subtraction. The imaginary part is multiplied or divided
  16. by i (square root of -1).
  17.  
  18.     ci knows the following operators:
  19.  
  20.     a+b, a-b, a*b, a/b    -    the usual
  21.     a^b            -    exponentiation
  22.     @a            -    mean argument (angle)
  23.     |a|            -    modulus
  24.     ~a            -    complex conjugation
  25.  
  26.     ci knows the following constants:
  27.  
  28.     i            -    square root of -1
  29.     e            -    Euler number
  30.  
  31. Every trigonometric operation can be acomplished with the
  32. exponentiation operator, e.g.:
  33.  
  34.     sin(x) == (e^(z*i)-e^(-z*i))/(2*i)
  35.  
  36. Of course, any root can be computed too, e.g.:
  37.  
  38.     n-th root of a == a^(1/n)
  39.  
  40.     Note that due to the unified way to compute the
  41. exponentiation, the accuracy of the results is not what one
  42. could get. Look at the result of -1^(1/2) in the examples
  43. below. This will change in future versions where functions
  44. and variables will be available :).
  45.  
  46.     Examples:
  47.  
  48. $ ci
  49. -1^(1/2)
  50. 6.123032e-17+i*1.000000e+00    <- real part should be 0 !
  51. 2^2
  52. 4.000000e+00+i*0.000000e+00
  53. e^(4*i+2)
  54. -4.829809e+00+i*-5.592056e+00
  55. |1+i|
  56. 1.414214e+00+i*0.000000e+00
  57. @(1+i)
  58. 7.853982e-01+i*0.000000e+00
  59. (2+3*i)*(i^2)
  60. -2.000000e+00+i*-3.000000e+00
  61.  
  62.     The parser for ci were generated by 'bison'.
  63.  
  64.     You may ask for improvements, but please understand that
  65. I didn't have the time to answer all incoming mails immediatley.
  66. Let me know if you are using ci for educational or other purposes
  67. on a regulary (once a week or so) basis.
  68.  
  69. bye,
  70.  
  71. Thomas
  72.