home *** CD-ROM | disk | FTP | other *** search
/ Current Shareware 1994 January / SHAR194.ISO / calculat / ex122.zip / EX.HLP < prev    next >
Text File  |  1993-06-25  |  11KB  |  340 lines

  1. //-
  2.  Ex (c)1993 by J.A.Wrotniak 
  3.     Chose from the available topics:
  4. * angle conversion * keyboard
  5. * conversions      * menu
  6. * autoscroll       * numerical opers
  7. * digits displayed * operators
  8. * distributions    * plots
  9. * errors           * settings
  10. * examples         * standard functions
  11. * expressions      * statistical functs
  12. * Euler functions  * unit conversion
  13. * functions        * user functions
  14. * if functions     * variables
  15.                    - registration
  16. //MENU
  17.  Menu 
  18.   The top function key menu  invokes the
  19. following operations:
  20.  
  21. [Hlp] - bring this help
  22. [Set] - switch to the settings menu
  23. [Plt] - switch to the plot menu
  24. [Num] - switch to the numeric ops menu
  25. [Con] - switch to the conversion menu
  26. [Def] - define a user function
  27. [Sho] - show a variable or a user func.
  28. [Clr] - clear all formulae and data
  29. [Exit]- save status, leave the program
  30. //SETTINGS
  31.  Settings 
  32.  
  33.   The settings  (Set) menu  gives access
  34. to the following options:
  35.  
  36. [Set|Dig] - number of digits displayed
  37. [Set|Deg] - angular mode: deg/rad
  38. [Set|Scl] - autoscroll on/off
  39. [Set|Snd] - sound on/off
  40. [Set|Top] - return to the top menu
  41.  
  42.   An arrow  pointing to a menu entry in-
  43. dicates the "ON" state.
  44. //PLOTS
  45.  Plots 
  46.  The plot (Plt) menu does the following:
  47. [Plt|Sho] - show plot screen (if any)
  48. [Plt|Plt] - plot current line (replacing
  49.    the old plot screen)
  50. [Plt|Add] - add current line plot to the
  51.    plot screen (without erasing it)
  52. [Plt|Axs] - axis visibility on/off
  53. [Plt|Grd] - grid visibility on/off
  54. [Plt|Acc] - high plot accuracy on/off
  55. [Plt|LgX] - log X scale on/off
  56. [Plt|LgY] - log Y scale on/off
  57. [Plt|Top] - return to the top menu
  58. F10 interrupts the plotting process.
  59. //USER FUNCTIONS
  60.  User Functions 
  61. * [Def]  defines  the current  line as a
  62.   user function: dfa..dff.  The variable
  63.   following  "="  is  treated  as  dummy
  64.   function  argument;  its value is  not
  65.   affected by function execution.  Other
  66.   variables can be used as parameters.
  67. * A user function  may refer  to others,
  68.   but direct or indirect self-references
  69.   are illegal.
  70. * To see a user function, press [Sho].
  71. Example:
  72.   To define  dfa(x)=ln(x)+cos(cx), enter
  73. "ln X+cos CX=X", [Def], and "dfa".
  74. //AUTOSCROLL
  75.  Autoscroll 
  76.  
  77. * With autoscroll  enabled by [Set|Scl],
  78.   after  an  expression   evaluation  Ex
  79.   moves to  the next line,  clearing it.
  80.   Line 1 follows the last line.
  81.  
  82. * No scroll occurs  if an error has been
  83.   detected.
  84.  
  85. * Enabled autoscroll  is indicated by an
  86.   arrow next to the line number.
  87. //CONVERSIONS
  88.  Conversions 
  89.   The following operations are available
  90. from the Conversion Menu:
  91. [Con|Ft]  - show  the  current result as
  92.             feet/inches/fraction
  93. [Con|Lb]  - ...as pounds/ounces/fraction
  94. [Con|Fra] - ..as whole part and fraction
  95. [Con|Dms] - ..as degrees/minutes/seconds
  96. [Con|Uni] - convert it between units
  97. [Con|Rou] - round it to the nearest fra-
  98.          ction with a given denominator.
  99.   Operations  [Uni] and [Rou] modify the
  100. result variable;  the others only change
  101. the display format.
  102. //ANGLE CONVERSIONS
  103.  Angle conversions 
  104.  
  105. * A value  entered  as degrees,  minutes
  106.   and seconds  (using °,' and ") will be
  107.   translated to radians  or degrees, de-
  108.   pending on the current angular mode.
  109.  
  110. * [Con|Dms] will display the last result
  111.   in degrees, minutes and seconds trans-
  112.   lated  from  radians  or from  degrees
  113.   (depending on the current mode).
  114.   The value itself will not be changed.
  115. //UNIT CONVERSION
  116. //UNITS
  117.  Unit conversion 
  118.   [Con|Uni]  converts the current result
  119. from one measurement unit to another.
  120.   A sequence  of three pop-up menus will
  121. query for the following information:
  122.  - The quantity to convert (e.g. volume)
  123.  - Units to convert from (e.g. gallons)
  124.  - Units to convert to (e.g. liters)
  125.   Inside a pop-up menu use arrow keys to
  126. move around,  Return  to select,  Esc or
  127. or F10 to abandon the operation.
  128.  
  129.   The converted value  will be stored in
  130. the same variable.
  131. //VARIABLES
  132.  Variables 
  133. * Variables  A..Z  and  @  (default) are
  134.   used to store calculation results and/
  135.   or as elements of expressions.
  136. * Variables  have  18  decimal digits of
  137.   accuracy and absolute range of 1E1000.
  138. * Variable  specified after "="  is used
  139.   - in expression  calculation: to store
  140.     the result
  141.   - in user  function definition  and in
  142.     plotting: as the argument (dummy)
  143.   - in integration,  differentiation and
  144.     finding zeros:  in both of the above
  145.     capabilities.
  146. //KEYBOARD
  147.  Keyboard 
  148.  Arrows - move cursor or scroll lines
  149.  Enter  - compute the current line
  150.  Tab    - check syntax, reformat line
  151.  Esc    - clear or restore current line
  152.  Ins    - swap line with buffer
  153.  ALT+p or CHAR+p - enter  (pi)
  154.  ALT+e or CHAR+e - enter É (Euler's e)
  155.  ALT+2 or CHAR+2 - enter ² (square)
  156.  ALT+3 or CHAR+3 - enter ⁿ (cube)
  157.  ALT+d or CHAR+d - enter ° (degree)
  158.  Shift+F10 - exit program w/o saving
  159.   At any prompt Esc clears input or can-
  160. cels, the original F-key continues.
  161. //ERRORS
  162.  Errors 
  163. * Syntax errors  bring an error message,
  164.   with cursor positioned at the error.
  165. * If file  EX.ERR is found,  then also a
  166.   brief error description will be given.
  167. * Calculation  errors  (e.g. division by
  168.   zero) cause a similar effect,  but the
  169.   function  or operator where  the error
  170.   occured will also be shown.
  171. * To remove the message, press any key.
  172. * The largest  absolute expression value
  173.   is 9.99E999,  otherwise  an "Overflow"
  174.   error will be reported.
  175. //NUMERICAL OPERS
  176.  Numerical operations 
  177.   These  operations  are applied  to the
  178. current expression line treated as f(x),
  179. with the variable after  "=" used as the
  180. function argument.
  181.  
  182. * [Num|Sum]  finds  sum  of  f(x) with x
  183.   stepping by dx from x1 to x2
  184. * [Num|Der] - a derivative of f(x) at x0
  185. * [Num|Int]  finds  an integral  of f(x)
  186.   over (x1,x2) with accuracy dx
  187. * [Num|Zer] - a zero of f(x)  in (x1,x2)
  188.   with accuracy dx; needs f(x1)*f(x2)<0
  189. To break any of the above, press a key.
  190. //IF FUNCTIONS
  191.  Conditional (if) functions 
  192.  
  193.   With a, b and c being any expressions,
  194. these functions return the value of b or
  195. of c, depending on the sign of a:
  196.  
  197.  ifp(a,b,c) is b if a>0, otherwise c
  198.  ifn(a,b,c)    b    a<0            c
  199.  ifz(a,b,c)    b    a=0            c
  200.  
  201.   The discarded argument is not computed
  202. so that  e.g.  ifz(X,1,sin X/X) will not
  203. raise an arithmetic error at X=0.
  204. //DIGITS DISPLAY
  205.  Digits displayed 
  206. * [Set|Dig]  prompts  for the  number of
  207.   significant  digits with which  calcu-
  208.   lation results are shown (1 to 16).
  209. * Preceding the answer (between 0 and 9)
  210.   with  a "."  will  set  the  number of
  211.   digits after the decimal point.
  212. * Entering  just the letter  f  sets the
  213.   "financial"  mode in  which two digits
  214.   after the decimal point are  shown, if
  215.   possible.
  216. * All this  does not affect the accuracy
  217.   with which variables are stored.
  218. //EXAMPLES
  219.  Examples of Expressions 
  220.  10/2+3.5*2       gives 12
  221.  2+3)*(4+5        gives 45
  222.  sqr 16+sq(2+2)   gives 20
  223.  inv 5A           means inv(5*A)
  224.  inv 5*A          means (inv 5)*A
  225.  2^3^4            means 2^(3^4)
  226.  ln 2A^3          means ln(2*(A^3))
  227.  ln 5!²           means ln((5!)²)
  228.  exp 2X ln A      means exp(2*X*ln(A))
  229.  exp 2X*ln A      means exp(2*X)*ln(A)
  230.  2e-3+X           means .002+X
  231.  2 e-3+X          means 2*E-3+X
  232.  2e -3+X          means 2*E-3+X
  233. //EXPRESSIONS
  234. //syntax
  235.  Expression syntax 
  236.   "*" can be skipped between  x and y if
  237. x is a constant or a variable and y is a
  238. variable, a function call or a "(". This
  239. implied multiplication shows as "·".
  240.   Operation priority:  low (+,-), medium
  241. (*,/) or high (^,·,²,ⁿ,!, functions).
  242.   "^", "·"  and  functions  execute from
  243. right  to left,  all  other  operators -
  244. from left to right.
  245.   Use () to change order of evaluation.
  246.   An expression is followed by "=" and a
  247. variable to store the result,  otherwise
  248. the default variable "@" is assumed.
  249. //OPERATORS
  250. //FUNCTIONS
  251.  Functions and operators 
  252. * Binary  operators stand  between their
  253.   arguments: +, -, *, /, ^ (power).
  254. * A unary operator  precedes  its single
  255.   operand: - (negation), or follows it:
  256.   ! (factorial), ² (square), ⁿ (cube).
  257. * Functions  accept  one,  two or  three
  258.   arguments. For more see under:
  259.   - standard functions
  260.   - if functions
  261.   - user functions
  262.   - Euler functions
  263.   - statistical functions
  264.   - supported distributions
  265. //STANDARD FUNCTIONS
  266.  Standard functions 
  267.  
  268. * One argument:
  269.   abs   int   ent   fra   inv  sgn
  270.   sq    sqr   cu    cur
  271.   sin   cos   tan   cot
  272.   asin  acos  atan  acot
  273.   sinh  cosh  tanh  coth
  274.   asinh acosh atanh acoth
  275.   ln    log   lg2   exp   ten  two
  276.  
  277. * Two arguments:
  278.   min   max   mod   rou   rad  atn2
  279.   ft    lb
  280. //EULER FUNCTIONS
  281.  Euler functions 
  282. Computed with 16-17 digits of accuracy:
  283.  
  284. - gam(a)    - complete Gamma function
  285. - lgam(a)   - natural logarithm of Gamma
  286.     (accepts larger arguments than gam)
  287. - fac(a)    - factorial = gam(a-1) = a!
  288. - com(a,b)  - combinations (a over b)
  289. - bet(a,b)  - Beta function (complete)
  290. - igam(a,x) - incomplete Gamma function
  291. - ibet(a,b,x) - incomplete Beta function
  292.  
  293.   Fac  and  com accept  also non-integer
  294. arguments.
  295. //STATISTICAL FUNCTIONS
  296.  Statistical functions 
  297.  
  298.   For  the supported  distributions  the
  299. following function types are available:
  300.  
  301. - Probability  density  (or probability)
  302.   denoted with "f", e.g. fchi(X,R)
  303. - Left  probability  integral  (or sum),
  304.   "p", i.e. P(<=x), e.g. pgau(X,M,S)
  305. - Central probability integral (Gaussian
  306.   and Student only), "a", e.g. astu(x,r)
  307. - Functions inverse to  integrals, shown
  308.   as "ip", "iq" and "ia".   For example,
  309.   if pchi(x,r)=p then ipchi(p,r)=x.
  310. //DISTRIBUTIONS
  311.  Distributions supported 
  312.   Probability (density) functions are:
  313. - fgau(x,m,s) - Gaussian (normal)   s>0
  314. - fchi(x,r)   - chi-square          r>0
  315. - fstu(x,r)   - Student (t)         r>0
  316. - fsne(x,r,s) - Snedecor (F)    r>0 s>0
  317. - fpoi(x,m)   - Poisson             m>0
  318. - fbin(x,n,p) - binomial      0<p<1 n>0
  319. - fgam(x,a)   - Gamma               a>0
  320. - fbet(x,a,b) - Beta            a>0 b>0
  321.   Replacing  "f" with  "p" or  "a" gives
  322. probability integrals,  and with "ip" or
  323. "ia" - functions inverse to integrals.
  324. //REGISTRATION
  325.  Support and registration 
  326.   Ex is shareware:  if you keep  and use
  327. it, send a fee of $30 to the author:
  328.      Dr. J. Andrzej Wrotniak
  329.      2057 Happy Lane
  330.      Crofton, MD 21114-1917
  331.   You will receive an upgrade to the "R"
  332. (registered)  version  on a  3.5"  disk,
  333. with  a number of  enhanced  features, a
  334. setup program and extra documentation.
  335.   Comments,  questions,  suggestions and
  336. problem  reports are  welcome and can be
  337. also forwarded by e-mail:
  338.   GEnie: J.WROTNIAK    CIS: 46511,2552
  339. //-
  340.