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

Python cmath.acos() Method

Python cmath.acos() Method

Python cmath.acos() method returns the arc cosine value (in radians) of the given complex number and it accepts a number between -1(along the real axis to -∞.) to 1(along the real axis to ∞).

Syntax:
cmath.acos(x)

Parameter Values

Parameter Description
X It is required to find the arc cosine number
Here is an Example of Python cmath.acos() Method:

import cmath
print (cmath.acos(7+2j))

Output:
(0.28082194176012115-2.6742734458074566j)
Example 2:

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

Output:
(1.2631926772641853-1.8641615441578825j)