MathGroup Archive 1993

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: trig functions

  • To: mathgroup at yoda.physics.unc.edu
  • Subject: Re: trig functions
  • From: bappadit at ecn.purdue.edu (Banerjee Bappaditya)
  • Date: Tue, 15 Jun 1993 13:12:26 -0500 (EST)

Hi!
I had recently posted an enquiry about reducing expressions to modulo 2*Pi
i.e. find the angles in the appropriate quadrants.
I got some very useful tips from Jerry B. Keiper (keiper at wri.com) and
Daniel Lichtblau (danl at wri.com).  I am posting their solutions here.

For an arbitrary theta,

ArcTan[Cos[theta],Sin[theta]]

or

Arg[Cos[theta] + I*Sin[theta]]

will do the needful.

I thank Jerry and Dan'l for their time and interest.

bappa.



Bappaditya Banerjee
bappadit at mn.ecn.purdue.edu
Ray W. Herrick Laboratories
Purdue University
West Lafayette, IN 47907
work : (317) 494 2132
       (317) 494 2147
fax  : (317) 494 0787
home : (317) 743 3982

 





  • Prev by Date: RE: foreign special characters in PostScript ?
  • Next by Date: D and InterpolatingFunction
  • Previous by thread: trig functions
  • Next by thread: Re: trig functions