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

Python cmath.asin() Method

Python cmath.asin() Method

Python cmath.asin() method in python is used to returns the arc sine 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.asin(x)

Parameter Values

Parameter Description
x It is required to find the arc sine of a number
Here is an Example of Python cmath.asin() Method:

import cmath
print (cmath.asin(5 + 6j))

Output:
(0.6907162341702312+2.7493465969740996j)
Example 2:

import cmath
print (cmath.asin(2 + 1j))

Output:
(1.063440023577752+1.4693517443681852j)