There is another post here about Atan but I dont see any relevant answers:
http://stackoverflow.com/questions/311501/c-why-math-atanmath-tanx-x
Isn't Math.Atan the same as tan-1? On my calculator I do:
tan-1(1) and i get 45.
tan(45) = 1
In C#:
Math.Atan(1) = 0.78539816339744828 // nowhere near the 45.
Math.Tan(45) = 1.6197751905438615 //1 dp over the < Piover2.
Whats happening here?