Hyperbolic Functions
Like the trigonometric functions, the hyperbolic functions are standard, as you can
Table 16-6. Number hyperbolic functions
Function
Description
Examples
Math.sinh(x)
Hyperbolic sine of x
Math
.
sinh
(
0
)
// 0
Math
.
sinh
(
1
)
// ~1.18
Math.cosh(x)
Hyperbolic cosine of x
Math
.
cosh
(
0
)
// 1
Math
.
cosh
(
1
)
// ~1.54
Math.tanh(x)
Hyperbolic tangent of x
Math
.
tanh
(
0
)
// 0
Math
.
tanh
(
1
)
// ~0.762
Math.asinh(x)
Inverse hyperbolic sine (arcsinh) of x
Math
.
asinh
(
0
)
// 0
Math
.
asinh
(
1
)
// ~0.881
Math.acosh(x)
Inverse hyperbolic cosine (arccosh) of x
Math
.
acosh
(
0
)
// NaN
Math
.
acosh
(
1
)
// 0
Math.atanh(x)
Inverse hyperbolic tangent (arctanh) of x
Math
.
atanh
(
0
)
// 0
Math
.
atanh
(
0
)
// ~0.615
236 | Chapter 16: Math