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...
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.
"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
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.
"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
Thanks! I've been really bashing my head into the wall over this one. REALLY appreciate your help.