TAN
Syntax
TAN (Data)
Description
The TAN function returns the tangent of Data, where Data represents an angle in radians.
To convert from degrees to radians, multiply by PI( ) / 180. (The PI function returns the value of PI.)
Returns
Returns the tangent of Data, where Data represents an angle in radians.
Example
These examples employ the TAN built-in function:
-
TAN(PI( ))returns 0 (tangent of p radians). -
TAN(PI( ) / 4)returns 1 (tangent of p / 4 radians). -
TAN(45 * PI( ) / 180)returns 1 (tangent of 45 degrees).
Related Topics