Tan

Calculates the tangent.

Syntax:

Tan(x)

Parameters:

(f) x  angle in radians.

Returns:

(f)  the Tan function returns the tangent of x..

 

Calculates the tangent. If x is large, a loss in significance in the result or significance error may occur.

Note: To convert an angle measured in degrees to radians, simply multiply by the constant @Deg2Rad.

Example:


real=AskLine("Tangent", "Enter an angle between 0 and 360", "45", 0)
answer=Tan(real * @DEG2RAD)
Message("Tangent of %real% degrees is", answer)
See Also:

Acos, Asin, Atan, Cos, Sin, Tanh