The math.cosh()
function returns the hyperbolic cosine of a number.
math.cosh(x)
Where, x
is the numeric value whose hyperbolic cosine we want.
import math
print (math.cosh(7))
print (math.cosh(5))
print (math.cosh(2.5))
print (math.cosh(1))