+0  
 
0
1254
0
avatar
I was just checking some trig values and when i put tan90 in it told me it was 16 331 239 353 195 370
The reason why its says this is because it says sin 90 = 1 and cos 90 = 0.000 000 000 000 000 061 232 339 957 367 66
Since tanX = sinX/cosX
= 1 / 0.000 000 000 000 000 061 232 339 957 367 66
= 16 331 239 353 195 370
But why does it say cos 90 = 0.000 000 000 000 000 061 232 339 957 367 66? I always was thought it was exactly 0.
This also leads to other strange values such as tan45 = 0.9999999999999999 (instead of just 1)

Things get even stranger when you switch from degrees to radians.
The calculator says that tan(pi/2) = -9 670 099 380 792.184
This is because the calculator now says that cos(pi/2) = -0.000 000 000 000 103 411 553 555 107 22

At this stage i'm hoping this is some sort of bug but maybe someone can shed some more light on the issue
1stly why cos 90 doesnt equal exactly 0 and 2ndly why does cos90 = a small positive no. but cos(pi/2) = a small negative no.
 
 Feb 18, 2013

1 Online Users

avatar