Please enable JavaScript to view this site.

Vensim Help

Navigation: Reference Guide > Functions > Mathematical and Numeric Functions

LN(X) Natural Logarithm of X

Scroll Prev Top Next More

Returns the natural logarithm of X.

Same as LOG( X, 2.718282 ).

 

Units: LN(dimensionless) --> dimensionless (the argument must be dimensionless)

Examples

LN( 2.718282 ) is equal to 1.0.

LN( -5.0 ) causes an error (LN of a number <= 0 is not defined).

LN( EXP(2.0)) is equal to 2.0 (by definition).

See also: LOG, EXP, POWER.

Sample model: EXP + LN + LOG.mdl in FunctionExamples