3.5.2.1.48 Ln

Description

This function returns the natural logarithm of x.

Syntax

double ln( double x)

Parameter

x

can be any positive number you want to calculate the natural logarithm.

Return

Return the natural logarithm of x.

Example

aa = ln(1);
aa = ; //0
bb = ln(10);
bb = ; //2.302585092994

See Also

ln1p