Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
OTS
 
Posts: n/a
Default TAN and ATAN functions ...

(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

  #2   Report Post  
Posted to microsoft.public.excel.misc
David Biddulph
 
Posts: n/a
Default TAN and ATAN functions ...

"OTS" wrote in message
...
(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.
--
David Biddulph


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 12:20 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"