In my program I have a calc who's values are
a = math.sin(150 / 250)
which gives me a value of 0.564 (3 places) in radians. When i convert that to degrees ( 180 / math.PI ), I have a value of 32.351 degrees.
Doing the same calculation on my calculator I get an angle in degrees of 36.869, which seems to be the correct angle. Why do I have a discrepancy in the code's calculation? Am i doing something wrong? :confused:
a = math.sin(150 / 250)
which gives me a value of 0.564 (3 places) in radians. When i convert that to degrees ( 180 / math.PI ), I have a value of 32.351 degrees.
Doing the same calculation on my calculator I get an angle in degrees of 36.869, which seems to be the correct angle. Why do I have a discrepancy in the code's calculation? Am i doing something wrong? :confused: