quick sine question

Started by
8 comments, last by _nomad_ 19 years, 1 month ago
(i know this is stupid, i'm a mor0n at math) is inverse sin theta equals to: 1/sin(theta) ? thanks.
Advertisement
No, you need to use asin(theta) (if C/C++ is your flavour). In textbooks this is often presented as sin-1(theta), but it's not to be confused with sin(theta)-1 :)
ok thanks.

how about this:

theta = arcsin(y/r) right?

then is theta = sin(y/r)?
theta = arcsin(y/r)
sin(theta) = sin(arcsin(y/r))
sin(theta) = y/r
Quote:Original post by lonesock
theta = arcsin(y/r)
sin(theta) = sin(arcsin(y/r))
sin(theta) = y/r


if theta = arcsin(y/r), is theta = sin(r/y)?
No.

If theta = arcsin(y/r), then y/r = sin(theta)

You seem to be used to thinking of inverses as swapping numerators with denominators. That's the case only for inverting multiplications, but functions are a different story. Inverting doesn't necessarily have anything to do with turning numbers "upside-down". The inverse of an operation is simply something that "undoes" that operation.
if you image sin and arcsin, cos and arccos, tan and arctan to all be C functions, then Sin(float angle), gives you the ratio of the opposite side to the hypotenuse (a ratio), whereas Arcsin(float ratio), works backwards giving you the angle from the ratio. How can they possibly be the same, when an angle is dependent on the measuring system used (i.e 360 deg or 2pi)?
Quote:Original post by _nomad_
if theta = arcsin(y/r), is theta = sin(r/y)?


no, even exchanging (y/r) for (r/y) does not work.
Here is a good read.
ah...ok...thank you guys! :) obviously, i'm no good at math...:)...i'll keep trying to learn though. thanks!

This topic is closed to new replies.

Advertisement