Please enable JavaScript to view this site.

Vensim Help

Navigation: Reference Guide > Functions > Mathematical and Numeric Functions

FACTORIAL_LN

Scroll Prev Top Next More

Returns the natural logarithm of the factorial of x.

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

Examples

FACTORIAL_LN(3) is equal to LN(3 x 2 x 1) (= 1.791759469)

FACTORIAL_LN(4) is equal to LN(4 x 3 x 2 x 1) (= 3.1780538)

 

See also: FACTORIAL

Sample model: FACTORIAL.mdl in FunctionExamples