angle | The REAL radian value for which to find the tangent. |
Return: | TAN returns a single REAL value. |
The TAN function returns the tangent of the angle.
Example:
Rad2Deg := 57.295779513082; //number of degrees in a radian
Deg2Rad := 0.0174532925199; //number of radians in a degree
Angle45 := 45 * Deg2Rad; //translate 45 degrees into radians
Tangent45 := TAN(Angle45); //get tangent of the 45 degree angle
OUTPUT(Tangent45); // 0.9999999999961035