tanh
The hyperbolic tangent function.
Syntax
-
tanh(x)
-
x
is a real or complex number
-
Description
The hyperbolic tangent function is defined by
tanh(z) = sinh(z) / cosh(z)
for all complex z
.
Examples
tanh(0)
0
tanh(1)
0.761594155956
tanh(i)
1.55740772465⋅i