Thread: sinh

  1. #1
    Registered User
    Join Date
    Oct 2005
    Posts
    12

    sinh

    Before I ask a long stupid question, let's start with a short one first.

    Is sinh the same function as sin-1 (as on a calculator)?

    I get the impression that it is, but if so, then it's not quite working right for me...
    Last edited by Erondial; 10-20-2005 at 11:56 AM.

  2. #2
    Registered User hk_mp5kpdw's Avatar
    Join Date
    Jan 2002
    Location
    Northern Virginia/Washington DC Metropolitan Area
    Posts
    3,817
    No, one is the arcsine the other is the hyperbolic sine.

    Remember, the computer assumes radians, typically the calculator assumes degrees.
    "Owners of dogs will have noticed that, if you provide them with food and water and shelter and affection, they will think you are god. Whereas owners of cats are compelled to realize that, if you provide them with food and water and shelter and affection, they draw the conclusion that they are gods."
    -Christopher Hitchens

  3. #3
    Registered User
    Join Date
    Oct 2005
    Posts
    12
    Yeah, I converted for degrees.

    Okay. That explains ALOT.

    Now, my next question is:

    How would I preform a sin-1 operation?

  4. #4
    Registered User hk_mp5kpdw's Avatar
    Join Date
    Jan 2002
    Location
    Northern Virginia/Washington DC Metropolitan Area
    Posts
    3,817
    In your program you would use the asin() function. It takes a double as an arugment and returns a double back to the caller. The argument given to the function must be in the range +1 to -1.
    "Owners of dogs will have noticed that, if you provide them with food and water and shelter and affection, they will think you are god. Whereas owners of cats are compelled to realize that, if you provide them with food and water and shelter and affection, they draw the conclusion that they are gods."
    -Christopher Hitchens

  5. #5
    Registered User
    Join Date
    Oct 2005
    Posts
    12
    Thanks! I've been really bashing my head into the wall over this one. REALLY appreciate your help.

Popular pages Recent additions subscribe to a feed