Python sin(x)
function returns the sine value of radian angle x.
The principle values for x is [-∞,∞]. It's a method of math
module.
>>> import math >>> math.sin(math.pi)
1.2246467991473532e-16
>>> math.sin(math.pi/2)
1.0
>>> math.sin(math.pi/6)
0.49999999999999994
>>> math.sin(math.pi/3)
0.8660254037844386