Ln

This function evaluates to the natural logarithm of the given number.

Description

The natural logarithm of a number.

Type

NUMERIC

Arguments

Type

Meaning

1

NUMERIC

the value

2

NUMERIC

the units in which to compute the logarithm

Evaluation

Converts the value into the desired units, and then computes the natural logarithm of this value. The solution is this number in the units of the converted value.

Comments

The natural logarithm may only be evaluated for values greater than zero. This function aborts the run with an error, if it is evaluated with a value less than or equal to zero.

The two arguments must have compatible units, otherwise the run is aborted with an error.

Note that this function does not use the scalar portion of the units argument.

 
Ln(1.0 "cfs", 0.0 "cms")
 
-3.56429837 "cms"