>>> import math
>>> print math.sin.__doc__
sin(x)
Return the sine of x (measured in radians).
math.sin expects its argument to be in radians, not degrees, so:
>>> import math
>>> print math.sin(math.radians(68))
0.927183854567
1
votes
by default angle in Python is calculated in radians. So, you can try to multiply the angle ( degrees ) by 0.01745 - to convert it to degrees and input the values.
print(math.sin(60*0.01745))
0.8659266112878228
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more