Python cmath.acosh() Method
Example
Find the inverse hyperbolic arc cosine value of a complex number:
#import cmath for complex number operations
import cmath
#find
the hyperbolic arc cosine of a complex number
print (cmath.acos(2 + 3j))
Try it Yourself »
Definition and Usage
The cmath.acosh()
method returns the
inverse hyperbolic cosine of a complex number.
There is one branch cut:
- Extending left from 1 along the real axis to -∞, continuous from above
Syntax
cmath.acosh(x)
Parameter Values
Parameter | Description |
---|---|
x | Required. The number to find the inverse hyperbolic cosine of |
Technical Details
Return Value: | A complex value, representing the inverse hyperbolic arc cosine of a number |
---|---|
Python Version: | 1.5 |