|
Mathematical Expression Simplifier Project
This is an API that I wrote to simplify mathematical expressions. It has support for many calculator functions such as trig and log functions and also supports variable names.
Supported calculator functions:
Sine | "SIN" |
Cosine | "COS" |
Tangent | "TAN" |
Cotangent | "COT" |
Cosecant | "CSC" |
Secant | "SEC" |
Hyperbolic Sine | "SINH" |
Hyperbolic Cosine | "COSH" |
Hyperbolic Tangent | "TANH" |
Natural Logarithm | "LN" |
Base 10 Logarithm | "LOG" |
To use, enter a math expression into the textbox below and click "Simplify"
Sample Expressions:
- .877 + (9 * -98.8 / (3.76 + 5 -4)) + 3
- cat + (9 * -dog / (3.76 + 5 -4)) + 3; cat=.877, dog=-98.8
Variable names are appended to the end of the expression following a semicolon. Seperate each variable by a comma.
- cat + (9 * Sin(log(-dog)) / (3.76 + 5 -4)) + 3; cat=.877, dog=-98.8
©2007 Christopher Lind
|
|