Function Type:

The exp function works on REAL or COMPLEX arguments.

Function Purpose:

The exp function calculates e ( 2.7183... ) raised to some power.

Required Arguments:


The argument x must be of type real. It will be the value to which e will be raised.

Optional Arguments:

There are no optional arguments.


To get the value of e raised to the 5.0 power:
		x = 5.0
		y = exp(x)
The variable y will then have the value 148.413159... stored in it.

For Additional Examples and Information See:

lecture seven

examples: inter2.f and odeint.f

Up one level / Home

Written by Jason Wehr : jcw142@psu.edu and Maintained by John Mahaffy : jhm@cac.psu.edu