Home >>Python cmath Module >Python cmath.cosh() Method
Python cmath.cosh() method in python is used to returns the hyperbolic cosine of a complex number.
Syntax:cmath.cosh(x)
Parameter | Description |
---|---|
x | It is required to find the hyperbolic cosine of a number |
import cmath
print (cmath.cosh(6 + 2j))
import cmath
print (cmath.cosh(2 + 2j))