In this example, it will be assumed that an
expression represents a real valued continuous function of possibly
several variables x, y, z, ... You can use the
default values below or enter your own value. Note that expressions must be entered as strings.
A valid expression string is either
a string representing a number, e.g., 312.32
or 3221
a string representing a variable, e.g., x or
myLongVariable
a string representing a function name
applied to a list of strings representing expressions, e.g.,
cos(x), exp(y), etc.
the concatenation of (, a string
representing an expression, and ), i.e. a parenthesized
expression
the concatenation of - and a string
representing an expression, e.g. -x, etc.
the concatenation of a string representing
an expression, ^, and a string representing an integer, e.g.
x^21
the concatenation of a string representing
an expression, s, and a string representing an expression, where
s is one of +, *, /, or -, e.g. "3.2 * x^15 -
6*abc"
In this demo, you are restricted to common
operators such as sin, cos, log, ..., i.e. user defined operators
are not allowed. Generally, the software requires no such
restriction. You are allowed to ``normalize'' with respect
to the leading term of the denominator, i.e. convert an expression
like (4 x^3 + x - 2)/(2 x^3 + 3) to (2 x^3 + 0.5 x - 1)/(x^3 +
1.5). The default is not to do this.
Note: if you wish to raise an expression to the
power of some other expression, use the built-in operator
``raise'', i.e. enter raise(x,x) and not x^x. Comments, more information, problems?Click here