LN

Function

LN generates the NATURAL logarithm of X, i.e: logarithm to base e of X.

Syntax

LN(N)

where N is a numeric expression.

Examples

LN(8)

generates the logarithm to base e of 8. (2.079441601991)

If S=9.12 then;

LN(S)

generates the logarithm to base e of 9.12.(2,2104698042074)

LN(-91)

generates a ‘Magnitude Error’ and program execution will stop.

Remarks

X must be greater than zero.

If X is negative or equal to zero then a ‘Magnitude Error’ will occur.

X may be an expression.