Re: Tan,Cos and Sin

new topic     » goto parent     » topic index » view thread      » older message » newer message

>>Hi
>>How do I get Tan,Cos or Sin to the power of -1 in Euphoria? I mean

>Isn't the inverse of a trig function just the function of the inverse
of
>the ratio
>ex:  sin (1/3)
>     sin^-1 (3/1)

Nonono!  The inverse of a trig function is actually another function:

tan^-1=arctan
sin^-1=arcsin
etc
When you write arctan(x), what you are really looking for is the angle
which has x as its tan.

The confusion here probably comes from looking at the inverse of a
number versus the inverse of a funcion:
Number: (1/3)^-1=(3/1)
Function: y=f(x), x=f^-1(y)

It's just important to remember that you're looking at trig *functions*,
whose inverses happen to be other trig functions.

Hope that clears up the difference. :)

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu