The objective function should be typed in the box provided using `x' as the variable.
The expression must use JavaScript syntax which accepts the usual operators except exponentiation (neither `^' nor `**', see below). The usual functions exp, sqrt, sin, cos etc. are available; log is natural log.
To raise to a power use pow(x,n) .