xxxxxxxxxx
>>> import math
>>> math.sin(math.pi/2)
1.0
xxxxxxxxxx
#Use the math.sin function
#import the math module
import math
#get the sine of a given number
print(math.sin(math.radians(30)))
xxxxxxxxxx
#Use the math.sin function
#import the math module
import math
#get the sine of a given number
print(math.sin(math.radians(30)))
xxxxxxxxxx
#Use the math.sin function
#import the math module
import math
#get the sine of a given number
print(math.sin(math.radians(30)))