Home >>Python cmath Module >Python cmath.acosh() Method

Python cmath.acosh() Method

Python cmath.acosh() Method

Python cmath.acosh() method returns the inverse hyperbolic cosine of a complex given number in radians and it accepts a number.

Syntax:
cmath.acosh(x)

Parameter Values

Parameter Description
X It is required to find the inverse hyperbolic cosine of a number
Here is an Example of Python cmath.acosh() Method:

import cmath
print (cmath.acos(4 + 8j))

Output:
(1.1096346915425495-2.8860395049475405j)
Example 2:

import cmath
print (cmath.acos(4 + 1j))

Output:
(0.2521794087163534-2.096596457288891j)