The log function is an elemental function that operates on COMPLEX and REAL arguments.
The log function computes the natural logarithm ( log to the base e or ln(x)) of the argument passed to it.
log(x)
The argument x must be of type REAL or COMPLEX.
There are no optional arguments.
The real variable x with a value of 9.87 is passed to the log function as follows:
logr = log(x)
The variable logr will then contain the value of 2.289499.
lecture seven
example inter2.f
Written by Jason Wehr : jcw142@psu.edu and Maintained by John Mahaffy : jhm@cac.psu.edu