The TANH function returns the hyperbolic tangent of a number.
This function can be useful in trigonometric calculations.
Syntax
TANH(value)
Argument |
Description |
Permitted values |
|---|---|---|
value |
Value for which the hyperbolic tangent is calculated |
Any real number. Can be specified as a number, formula, function, or cell reference |
Examples of use
Calculation of hyperbolic tangent for 0
=TANH(0)
Result: 0, since the hyperbolic tangent of zero is zero.
Calculation of hyperbolic tangent for 1
=TANH(1)
Result: 0,7616.
Calculation for a negative value
=TANH(-1)
Result: −0.7616, since the function is odd: TANH(−x) = −TANH(x).
Notes
–The function accepts any valid number and returns a value in the range from −1 to 1.
–For arguments with large absolute values, the result tends toward −1 or 1.