Documentation/Calc Functions/TANH

Function name:
TANH

Category:
Mathematical

Summary:
Calculates the hyperbolic tangent (tanh) of a hyperbolic angle expressed in radians.

Syntax:
TANH(Number)

Returns:
Returns a real number in the range (-1, 1) that is the hyperbolic tangent of the specified hyperbolic angle.

Arguments:
Number is a real number, or a reference to a cell containing that number, that is the hyperbolic angle in radians whose hyperbolic tangent is to be calculated.


 * If Number is non-numeric, then TANH reports a #VALUE! error.

Additional details:
The formula for the hyperbolic tangent of x is:

$$\tanh(x)~=~\frac{\sinh(x)}{\cosh(x)}~=~\frac{e^x-e^{-x}}{e^x+e^{-x}} $$

The figure below illustrates the function TANH.

Related LibreOffice functions:
ATANH

COSH

COTH

CSCH

FISHERINV

SECH

SINH

ODF standard:
Section 6.16.70, part 2

Equivalent Excel functions:
TANH