Skip to main content

TAN

TAN(angle)

angleThe 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

See Also: ACOS, COS, ASIN, SIN, ATAN, COSH, SINH, TANH