Write an equation in the input box above and see the equation visualised!
The formatting is rather standard: +, -, *, /, ^ are the currently supported operators.
When using the ^ (to the power) operator, the power you are raising to must always be enclosed in brackets. E.g: 4^(5+3)
This is a demo showing my maths equations parsing algorithm. The output is recursively generated.
I will most likely use this algorithm in some of my other projects.
I hope it’s of use to someone!
Here’s what was going on in my mind as I was figuring out how to tackle this problem:
Info:status: omptimisation pending