home *** CD-ROM | disk | FTP | other *** search
/ Techno Guide - Aspettando Windows 98 / TechnoGuide.iso / applicaz / snotetab / maths.txt < prev    next >
Text File  |  1998-01-25  |  1KB  |  30 lines

  1. NoteTab can also calculate mathematical expressions in a document. These can be of any length. For example, if you enter the following expressions in a document:
  2.  
  3.     Sin(3)*5/Pi=
  4.  
  5. and then press Ctrl+E (or from menu Tools|Calculate Expression), the result will be added after the equal sign. If there is no equal sign, or if the document is Read-Only then it copies the result to the Clipboard and displays it in a small window.
  6.  
  7. See the topic [Clipbook & Maths] for more interesting uses of this feature.
  8.  
  9. Supported mathematical operators and functions are listed below.
  10.  
  11. Predefined value:
  12. PI
  13.   
  14. Accepted operators: + , - , * , / , ^ , MOD, DIV
  15.  
  16. The following functions are supported; it doesn't matter if you use lower or upper case:
  17.  
  18. COS, SIN, SINH, COSH, TAN, COTAN, ARCTAN, ARG, EXP, LN, LOG10, LOG2, LOGN, SQRT, SQR, POWER, INTPOWER, MIN, MAX, ABS, TRUNC, INT, CEIL, FLOOR, 
  19. HEAV (heav(x) is =1 for x>0 and =0 for x<=0),
  20. SIGN (sign(x) is 1 for x>1, 0 for x=0, -1 for x<0),
  21. ZERO (zero(x) is 0 for x=0, 1 for x<>0),
  22. PH (ph(x) = x - 2*pi*round(x/2/pi))
  23. RND (rnd(x) = int(x) * Random)
  24. RANDOM (random(X) = Random; the argument X is not used)
  25.  
  26. Acknowledgements:
  27. =================
  28. The mathematics feature integrated in NoteTab was made possible thanks to the superb freeware parsing function developed by the following people:
  29. Renate Schaaf (schaaf@math.usu.edu), Alin Flaider (aflaidar@datalog.ro), and Stefan Hoffmeister (Stefan.Hoffmeister@Uni-Passau.de)
  30.