LOG

The LOG function returns the natural logarithm an expression a. If ex=a then LOG(a)=x. The LOG function is defined only for positive values of a (that is, a > 0). It is undefined for all other values.

Format

LOG(a)

Arguments

 
a
Any valid function expression that returns a positive value during a simulation.
Number of Arguments: 1

Examples

DIFF/1, IC=3.6
, FUNCTION=LOG(1+VM(21,31,31))
This DIFF statement defines a user specified differential equation. The initial condition for the associated state is 3.6 and its derivative is the natural logarithm of the expression 1+VM(21,31,31).
See other available FORTRAN 77 intrinsic functions.