GiovaBici
Mar 21, 2021 - 17:35
Hello everybody. I would need to calculate the cosine of an angle. I used the math.cos () function, but the result I am getting is wrong. can anyone tell me why? thank you.
I am attaching the text:
import math
print(math.cos(60))
in the console, as a result, is:
-0.9524129804151563
Otherwise, can you tell me another method with which to calculate the cosine?
Thank you