Description
Calculates the tangent of an angle.
Syntax
Tan ( n )
Return value
Double.
Returns the tangent of n. An execution error occurs if n is not valid. If n is null, Tan returns null.
Examples
Both these statements return 0:
Tan(0) Tan(Pi(1))
This statement returns 1.55741:
Tan(1)
See also
Tan method for DataWindows in the section called “Tan” in DataWindow Reference.