Tanh

Calculates the hyperbolic tangent.

Syntax:

Tanh(x)

Parameters:

(f) x angle in radians.

Returns:

(f) the Tanh function returns the hyperbolic tangent of x.

 

Calculates the hyperbolic tangent. There is no error value.

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

Example:


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

Acos, Asin, Atan, Cos, Cosh, Sin, Sinh, Tan