Evaluate Mathematical Function from String [closed]

You can parse the expression based “Shunting-Yard Algorithm” http://en.wikipedia.org/wiki/Shunting-yard_algorithm. You will need to extend to handle the function calls such as sin, cos etc…

Leave a Comment