suppose I have the following code:
var str = "4*(3)^2/1"
Is the simplest solution just to make a stack of the operators and solve with postfix notation? Or is there a really basic solution I'm missing.
Additionally how can I adapt if I'm using log, ln, sin, cos, and tan?