List of Parser Features
The equation parser used for these Java applets is a very robust
recursive descent equation parser. It has complete error handling and
is very difficult to crash. Here is a list of features and supported
operations:

Full understanding of standard orderofoperations

Supports exponentiation using the '^' symbol

Implicit multiplication between a variable and a number and between
parenthesised tokens

List of supported operations:

+,,*,/,^

sin(x), cos(x), tan(x), acos(x), asin(x), atan(x)
 Assumes x is in radians

abs(x)  Returns the absolute value of x

exp(x)  Returns e^x

ln(x)  Returns the natural logarithm of x

sqrt(x)  Returns the square root of x

he(x)  Returns 0 if x<0 and 1 if x>=0
If you have any questions, or think of a function that should be added
to the parser, please contact the author, Richard Williamson.
Back to the main page
Last modified: Thu Jun 10 8:29:03 1999