C
C#3mo ago
KleinRiese

✅ cos(90) = 6.... ???

I want c# to calculate the value of sin(90), but it outputs a number, wich is bigger, than 1. How?
No description
5 Replies
KleinRiese
KleinRieseOP3mo ago
Math.Pi / 180 turns the degree into a radian
ero
ero3mo ago
the value is 6.1...66E-17 that value is nowhere near 1
KleinRiese
KleinRieseOP3mo ago
but every cos/sin value should be between 1 and -1, shouldnt it?
ero
ero3mo ago
and that value is the E-17 notation means *10^-17
KleinRiese
KleinRieseOP3mo ago
ohhhhhh thank you so much

Did you find this page helpful?