Home >>Python cmath Module >Python cmath.sin() Method
Python cmath.sin() method in python is used to returns the sine of a given number and it represents the ratio between opposite side of a right triangle and hypotenuse.
Syntax:cmath.sin(x)
Parameter | Description |
---|---|
x | It is a required parameter to find the sine of a given number |
import cmath
print (cmath.sin(4 + 1j))
import cmath
print (cmath.sin(2 + 6j))