Calculates the hyperbolic tangent of any expression.
TANH(val)
val |
- |
A scalar, series or table. |
A scalar, series, or table.
tanh(-5..0.01..5);gridhv;griddot
displays the hyperbolic tangent from –5 to 5.
tanh(pi)
returns 0.99627208.
tanh(ln(phi))
returns 0.447214 or √5 / 5
tanh(-2..0.1..2)
returns a 41 point series.
The hyperbolic tangent is defined as:
for all complex z.
SETDEGREE and SETRADIAN have no effect on this function because it always operates in radians.