Inverse

This is a discussion on Inverse within the C++ Programming forums, part of the General Programming Boards category; How do I get the inverse of cosine, sine and tangent in C++, I was looking through Math.h but couldn't ...

  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
    ZuK
    ZuK is offline
    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, 05: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, 09:11 PM
  4. ROW OPERATIONS (finding Inverse) (im going crazy)
    By alexpos in forum C Programming
    Replies: 1
    Last Post: 11-20-2005, 09:07 AM
  5. Inverse Tan
    By spidereen in forum C++ Programming
    Replies: 2
    Last Post: 03-04-2003, 07:55 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21