print(math.sin(math.pi / 2))
print(math.sin(math.pi))
print(math.sin(3 * math.pi / 2))
print(math.sin(2 * math.pi))
I am learning trigonometry on Khan Academy because I'm not at the age when they teach trig in school. So when I put these values in here is what I get from the console.
1 <--- This value is what I expected
1.2246467991474e-016 <--- I was expecting 0
-1 <--- This value is what I expected
-2.4492935982947e-016 <--- I was expecting 0
Here is what I get from my calculator..
1
0
-1
0
Can someone tell me why this happens in ROBLOX?
