Home >>Python math Module >Python math.sin() Method
Python math.sin() method in python is used to return the cosine of the given number in radians and it accepts a number.
Syntax:math.sin(x)
Parameter | Description |
---|---|
x | It is required a number to find the sine. |
import math
print (math.sin(14))
print (math.sin(0))
print (math.sin(-23.06))
print (math.sin(math.pi))
print (math.sin(math.pi/2))
import math
print(math.sin(math.radians(22)))
print(math.sin(math.radians(75)))