Thread: Inverse

  1. #1
    Registered User
    Join Date
    Nov 2005
    Posts
    545

    Inverse

    How do I get the inverse of cosine, sine and tangent in C++, I was looking through Math.h but couldn't find anything.

  2. #2
    Registered User
    Join Date
    Aug 2005
    Location
    Austria
    Posts
    1,990
    acos(), asin(), atan().
    BTW: in C++ you should use <cmath>
    Kurt

  3. #3
    Registered User
    Join Date
    Nov 2005
    Posts
    545
    Ah right yes, sorry stupid question.

    It said acos was cosine of an arc which I know to be different from an angle.

    Cheers Kurt

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need to Calculate the Inverse of A Matrix.
    By jordan_230 in forum C Programming
    Replies: 6
    Last Post: 11-03-2008, 06:14 PM
  2. Multiplicative inverse question
    By Overworked_PhD in forum Tech Board
    Replies: 3
    Last Post: 04-02-2008, 09:58 AM
  3. How to inverse a trig?
    By Diablo02 in forum C# Programming
    Replies: 4
    Last Post: 11-07-2007, 10:11 PM
  4. ROW OPERATIONS (finding Inverse) (im going crazy)
    By alexpos in forum C Programming
    Replies: 1
    Last Post: 11-20-2005, 10:07 AM
  5. Inverse Tan
    By spidereen in forum C++ Programming
    Replies: 2
    Last Post: 03-04-2003, 08:55 AM