Function Type:

The tan function works on REAL arguments only.

Function Purpose:

The tan function will take an argument whose value corresponds to an angle in radian form and return the value of tangent for that angle.

Required Arguments:

tan (x)

Where x must be a REAL argument whose value will be interpreted as an angle in radians.

Optional Arguements:

There are no optional arguments to this functions.


The tan function is used in the following manner:
		x = 45.0
		pi = 3.1415926
		x = x/180*pi ( Remember the angle must be in radians )
		y = tan (x)
Naturally, the value that is returned will equal one.

For more examples and information see:

lecture seven

Up one level / Home

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