Python cmath.asin() Method
Example
Find the arc sine of a complex number:
#import cmath for complex number operations
import cmath
#find
the arc sine of a complex number
print (cmath.asin(2 + 3j))
Try it Yourself »
Definition and Usage
The cmath.asin() method returns the arc sine of a
complex number.
There are two branch cuts:
- Extends right from 1 along the real axis to ∞
- Extends left from -1 along the real axis to -∞
Syntax
cmath.asin(x)
Parameter Values
| Parameter | Description |
|---|---|
| x | Required. A number to find the arc sine of |
Technical Details
| Return Value: | A complex value, representing the arc
sine of a complex number |
|---|---|
| Python Version: | 1.5 |