NAME

tan - trigonometric tangent function

SYNOPSIS

v = tan(NumExpr)

DESCRIPTION

Tan returns the trigonometric tangent of its argument.  The argument may be any numeric expression.  Its value is assumed to be the radian measure of the angle whose tangent is to be returned. 

EXAMPLE

The program
	pi = 3.14159265
	degrees = 45
	print tan(degrees * pi / 180)
produces the output
	.9999999245021034 
This example calculates the tangent of 45 degrees.  Note that the degree measure of the angle is converted to radian measure by multiplying by pi/180 before calling the tan function. 

SEE ALSO

atn, cos, sin

from The Basmark QuickBASIC Programmerís Manual by Lawrence Leinweber