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:
Sin(3)*5/Pi=
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.
See the topic [Clipbook & Maths] for more interesting uses of this feature.
Supported mathematical operators and functions are listed below.
Predefined value:
PI
Accepted operators: + , - , * , / , ^ , MOD, DIV
The following functions are supported; it doesn't matter if you use lower or upper case:
COS, SIN, SINH, COSH, TAN, COTAN, ARCTAN, ARG, EXP, LN, LOG10, LOG2, LOGN, SQRT, SQR, POWER, INTPOWER, MIN, MAX, ABS, TRUNC, INT, CEIL, FLOOR,
HEAV (heav(x) is =1 for x>0 and =0 for x<=0),
SIGN (sign(x) is 1 for x>1, 0 for x=0, -1 for x<0),
ZERO (zero(x) is 0 for x=0, 1 for x<>0),
PH (ph(x) = x - 2*pi*round(x/2/pi))
RND (rnd(x) = int(x) * Random)
RANDOM (random(X) = Random; the argument X is not used)
Acknowledgements:
=================
The mathematics feature integrated in NoteTab was made possible thanks to the superb freeware parsing function developed by the following people:
Renate Schaaf (schaaf@math.usu.edu), Alin Flaider (aflaidar@datalog.ro), and Stefan Hoffmeister (Stefan.Hoffmeister@Uni-Passau.de)