>>> import math
>>> math.sin(68)
-0.897927680689
But sin(68) = 0.927 (3 decimal places)
Any ideas about why I am getting this result?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
math.sinexpects its argument to be in radians, not degrees, so:For reference, see
help(math.sin): "Return the sine of x (measured in radians)."Or the documentation: "Return the sine of x radians."