How to inverse a trig?
Im coding in console app, and i can't seem to find a way to get the inverse of sine.
I need it to evaluate:
a = sin^-1(0.2/0.5)
but while looking through the different 'Math.' options i didn't find anything like or would resemble equivalent to the inverse of sin (sin^-1). Ive also checked the help search and tried to do it another alternative but was required to get the inverse of tan and am stuck.
Could someone help me out?
Math.Asin (arcus sine == inverse sine)
Doesn't work ...
Originally Posted by Raven Arkadon
a = Math.Asin(0.25);
a = 0.25268...
What were you expecting? http://www.google.ca/search?hl=en&q=...G=Search&meta=
All of the trigonometric math functions in C, C++, and apparently C# use radians, not degrees. If you want degrees, convert the radians to degrees. http://www.google.ca/search?hl=en&q=...G=Search&meta=
ohhhh! gotcha :)
That makes sense now ...
Thx for the help. -got it to work