Tag: language-agnostic
-
Why do trigonometric functions give a seemingly incorrect result?
12 When attempting to use a trigonometric function in my programming language, I get a seemingly wildly incorrect result. For example, sin(90) = 0.8939966636005579 But I would expect sin(90) to be 1. What is going on and what can I do to fix this? language-agnostic trigonometry Share Follow edited 1 hour ago Bergi 638k149149 gold…