Semicolons should be used to terminate lines.
The function show (message, value) enables user variables to be displayed at the solution.
The expressions must use JavaScript syntax which accepts the usual operators except either `^' or `**', as well as functions which must be called Math.exp, Math.sqrt, Math.sin, Math.cos etc.
Math.log is natural log. To raise to a power use Math.pow(x,n) .