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...
This is a discussion on sinh within the C++ Programming forums, part of the General Programming Boards category; Before I ask a long stupid question, let's start with a short one first. Is sinh the same function as ...
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.
No, one is the arcsine the other is the hyperbolic sine.
Remember, the computer assumes radians, typically the calculator assumes degrees.
I used to be an adventurer like you... then I took an arrow to the knee.
Yeah, I converted for degrees.
Okay. That explains ALOT.
Now, my next question is:
How would I preform a sin-1 operation?
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.
I used to be an adventurer like you... then I took an arrow to the knee.
Thanks! I've been really bashing my head into the wall over this one. REALLY appreciate your help.