Tan

(Engine-Level Function)

Description: Returns the trigonometric tangent of an angle in radians.
Returns: Numeric
Usage: Script or steady state.
Function Groups: Trigonometric Math
Related to: ACos | ASin | ATan | Cos | Sin
Format: Tan(Angle)
Parameters:  
Angle
Required. Any numeric expression giving the angle in radians.
Comments: The returned value is a number in the range of -1.00 to +1.00. To convert an angle from degrees to radians multiply by \pi / 180 or (approximately) 0.0174533.

Example:

x = Tan(45 *  \pi / 180);

The value of x will be 1.