Back to functions

log


natural logarithm

Calculates the log of a number base e.


Usage: nerdamer("log(x)")


Parameters

expression x Returns the appropriate value if possible otherwise it returns the function with the simplified expression

EXAMPLES:
var x = nerdamer('log(e^2)');
console.log(x.toString());
var y = nerdamer('log(2*e^2)');
console.log(y.toString());
OUTPUT:
Back to functions