0

Is it possible for me to import cosine from math in python

Example From math import cos

19th Jul 2020, 9:46 PM
🔥 Destiny Travolta 🔥
5 Antworten
+ 4
If you wonder why these functions give weird results, it might be about that they expect radians. If you are not used with radians, you can import the radians function, which converts degrees into radians: from math import cos, radians cos(radians(60)) ---> 0.5
19th Jul 2020, 10:14 PM
Seb TheS
Seb TheS - avatar
+ 6
Why don't you just try it? What's there to ask?
19th Jul 2020, 10:06 PM
HonFu
HonFu - avatar
+ 3
Yes.
19th Jul 2020, 9:58 PM
Seb TheS
Seb TheS - avatar
+ 2
Seb Thanks bro u really have me the answer. Really appreciated
20th Jul 2020, 8:35 AM
🔥 Destiny Travolta 🔥
0
Yeah
21st Jul 2020, 6:58 PM
Ndocha