Python cmath.sin() Method
Example
Find the sine of a complex number:
    #import cmath for complex number operations 
import cmath
#find 
    the sine of complex number
print (cmath.sin(2 + 3j))
  Try it Yourself »
Definition and Usage
The cmath.sin() method returns the sine of a number.
Sine is a trigonometric function representing the ratio between opposite side of a right triangle and hypotenuse.
Syntax
  
    cmath.sin(x)
  
Parameter Values
| Parameter | Description | 
|---|---|
| x | Required. A number to find the sine of | 
Technical Details
| Return Value: | A complex value, representing sine of a 
  complex number | 
|---|---|
| Python Version: | 1.5 | 
Copyright 1999-2023 by Refsnes Data. All Rights Reserved.