π is "pi"; when it fails, use pow($a, $b), not $a^$b
see also number guesser, which is used to display nice numbers
well parsing f(x): sin(x); sin(2*x); x^3+1; cos(x^2)+x^2;