The TANH function returns the hyperbolic tangent of a number.




Argument Description
number The real number that you want to calculate the hyperbolic tangent of


  A B C
1 Formula Result Notes
2 =TANH(4) 0.999329 Hyperbolic tangent of 4
3 =TANH(-2) -0.96403 Hyperbolic tangent of -2
4 =TANH(EXP(1)) 0.991329 Hyperbolic tangent of the base of the natural logarithm

The formula for the hyperbolic tangent is:    

    \[    tanh(z) = \frac {sinh(z)}{cosh(z)} = \frac {e^z - e^{-z}}{e^z + e^{-z}}    \]

See Wikipedia for more information on hyperbolic function.