Reserved word | Explanation |
---------------- | ------------------------------------ |
latex | create latex output, use in beginning of script |
ascii | create ascii output, use in beginning of script |
html | create html output, use in beginning of script |
xml | create xml output, use in beginning of script |
decimals | number of decimals |
print a eval; | print variable 'a' and evaluate |
def a; | define a variable 'a' |
sin | sine |
cos | cosine |
tan | tangens |
asin | arcus sine(radians) |
acos | arcus cosine(radians) |
atan | arcus tangens(radians) |
PI | PI scientific constant |
sqrt | square root |
log | natural logarithm |
log10 | 10 based logarithm |
^ | power |
scientific | scientific notation |
nonscientific | nonscientific notation |
eq | print <variable> eq; |
eval | print <variable> eval |
print nl | new line |
print <variable> eq | print equation of variable |
print <variable> eval | print evaluation of the equation for variable |
e | neper |
s | scientific notation after variable |
#!! | Comment line, copied verbatim to output(latex and html may be embedded) |
A qxcalc script file is a text file. A script contains mathematical equations, and can be processed with
qxcalc to do the actual calculations that the script contains. Please see below for a couple of examples, and syntax thereof(in these samples we use the
vim editor, however we could use any text file editor, nano, pico, emacs, xemacs, notepad):
An example
html page
Another example:the cosinustheorem
html page