TAN and ATAN functions ...

G

Guest

(a) From a formula: Y = TAN (X)

(b) if X=2.0 (in Radian) that's equivalent to 115 degrees

(c) Then => Y = tan (2) = tan (115 degrees) = -2.18

(d) Now I can reverse the formula to X = ATAN (Y)

(e) But, X=ATAN (-2.18) = -1.14; NOT 2.0 that I expected it to return -- see
statement (b)

Why is it so?

Thanks
 
D

David Biddulph

OTS said:
(a) From a formula: Y = TAN (X)

(b) if X=2.0 (in Radian) that's equivalent to 115 degrees

(c) Then => Y = tan (2) = tan (115 degrees) = -2.18

(d) Now I can reverse the formula to X = ATAN (Y)

(e) But, X=ATAN (-2.18) = -1.14; NOT 2.0 that I expected it to return --
see
statement (b)

Why is it so?

From the help:
ATAN returns a value in the range -pi/2 to +pi/2.

You need to remind yourself that all the trig functions will wrap round at
180 degree intervals.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top