Full name
math.cosh
Library
math
Syntax
math.cosh(x)
Description
Parameters
- x: Number from which to obtain the hyperbolic cosine.
Result
The math.cosh function returns a real number.
Examples
We can obtain the hyperbolic cosine of the number 0.5 with the following code:
math.cosh(0.5)
1.1276259652063807