JavaScript Algebraic Equation Solver

Bounds on x; Lower: Upper:
Equation in x:
Solution:

The equation should be typed in the box provided using only `x' as the unknown.
The expression must use JavaScript syntax which accepts the usual operators except exponentiation. To raise to a power use pow(x,n). The usual functions are available: exp, sqrt, sin, cos etc.
log is natural log.