Inverted Sin, How ?

Started by
4 comments, last by granat 22 years, 9 months ago
Is there a INVERTED SINUS function in C++ (Visual C++) ?? I mean instead of me giving the angle as parameter I give a number and receive the angle. I looked trough math.h but could not find it there... -- Look at you hacker. A Pathetic creature of meat and bone, panting and sweating as you run through my corridors. How can you challenge a perfect, immortal machine?-- "Yeah, I''ve seen people w/ ''so-called'' lives. They are petty and thoughtless." - Nazrix
-------------Ban KalvinB !
Advertisement
it''s in there, if you''re looking for an inversion of the sine function.

HHSDrum@yahoo.com
Polarisoft Home Page
My HomepageSome shoot to kill, others shoot to mame. I say clear the chamber and let the lord decide. - Reno 911
I automatically searched through the math.h file with the following search words: INV, SINI, ISIN etc...

Nothing was found...



-------------Ban KalvinB !
Actually, the inverted function of the sin function is the arcsin or asin function. So try looking for asin.

Okay, I just looked it up. It''s the asin function.

Dormeur
Wout "Dormeur" NeirynckThe Delta Quadrant Development Page
?why? -(sin) is the INVERTED SINUS function, right?
Or am I just confused..?

stevenmarky:

An inverse trig function takes a value as it''s parameter, and returns the angle. So,

// using degreessin(45) = 0.7071asin(0.7071) = 45 


Same deal with cos/acos, and tan/atan. They have an ''a'' in front, because they are called arc-sine, arc-cosine, and arc-tangent.


This topic is closed to new replies.

Advertisement