About My Expression Maker
With this app you can create custom user expressions.
Register any expression using + - * / ^, group operations with () and use predefined math functions.
You can add variables to your expressions. Add a variable in the form of [varname], where varname is the name of the var to ask at evaluation moment. NOTE: Brackets are required. i.e: ([x]*9/5)+32
Sample usage:
([x]*9/5)+32
Advanced usage:
a=[c0]+5
f(x,y)=x^2+2*x*y+y^2
[c1]^2+(5*f(2,3))
Then evaluate your functions.
Predefined values:
- pi, Get value of pi
- e, Get value of e
Available functions:
- sqrt(value), Square root
- abs(value), Absolute value
- ln(value), Natural logarithm
- log(value), Base-10 logarithm
- ceil(value), Round fractions up
- floor(value), Round fractions down
- round(value), Rounds a float
- sin(value), Sine
- sinh(value), Hyperbolic sine
- asin(value), Arc sine
- asinh(value), Inverse hyperbolic sine
- cos(value), Cosine
- cosh(value), Hyperbolic cosine
- acos(value), Arc cosine
- acosh(value), Inverse hyperbolic cosine
- tan(value), Tangent
- tanh(value), Hyperbolic tangent
- atan(value), Arc tangent
- atanh(value), Inverse hyperbolic tangent
EvalMath - PHP Class to safely evaluate math expressions
Copyright (C) 2005 Miles Kaufmann