home *** CD-ROM | disk | FTP | other *** search
/ Archive Magazine 1995 / ARCHIVE95.iso / discs / shareware / share_40 / evaluate / !Evaluate / UserFuncs < prev   
Text File  |  1990-04-17  |  2KB  |  50 lines

  1. Description of the various user-defined functions for !Evaluate.
  2.  
  3. If you add any functions to the function-library called 'Functions', please
  4. describe the function, ie. its calling convention, parameters, result,... in
  5. this text-file, so that other users of !Evaluate may benefit from your ideas!
  6. Please try to make your function-description conform with that of the first
  7. seven descriptions...                              
  8.  
  9. -----------------------------------------------------------------------------
  10.  
  11.                  Descriptions of the User-defined Functions:
  12.                  *******************************************
  13.  
  14. MAX         : Parameters : two reals x,y
  15.               Returns    : real, being the maximum of x and y
  16.               Syntax     : MAX(x,y)
  17.               Example    : MAX(4.02,10) = 10
  18.  
  19. MIN         : Parameters : two real x,y
  20.               Returns    : real, being the minimum of x and y
  21.               Syntax     : MIN(x,y)
  22.               Example    : MIN(-9.3,MAX(4.02,10)) = -9.3
  23.  
  24. FAC         : Parameters : one integer x       
  25.               Returns    : integer, being the factorial of x
  26.               Syntax     : FAC(x)
  27.               Example    : FAC(5) = 120
  28.  
  29. SEC         : Parameters : one real x
  30.               Returns    : real, being the secans (1/COS) of x
  31.               Syntax     : SEC(x)
  32.               Example    : SEC(FAC(4)) = 2.357495262
  33.  
  34. COSEC       : Parameters : one real x
  35.               Returns    : real, being the cosecans (1/SIN) of x
  36.               Syntax     : COSEC(x)
  37.               Example    : COSEC(12) = -1.863679599
  38.  
  39. MANDEL      : Parameters : two reals x and y (components of x+yi)
  40.               Returns    : real, being the potential -relative to the
  41.                            Mandelbrot Set- of the point x+yi
  42.               Syntax     : MANDEL(x,y)
  43.               Example    : MANDEL(-1.4,.3) = 0.01159676471
  44.  
  45. ITERATE     : Parameters : a string f$, a real x and an integer m
  46.               Returns    : real, being the result of the function f$ iterated
  47.                            m times, with initial value x
  48.               Syntax     : ITERATE(f$,x,m)
  49.               Example    : ITERATE("COS",123,100) = 0.7390851332
  50.