MathGroup Archive 2005

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

Search the Archive

Re: ExpToTrig with Real Numbers

  • To: mathgroup at
  • Subject: [mg63341] Re: [mg63334] ExpToTrig with Real Numbers
  • From: Pratik Desai <pdesai1 at>
  • Date: Sat, 24 Dec 2005 16:02:52 -0500 (EST)
  • References: <>
  • Sender: owner-wri-mathgroup at

Blimbaum, Jerry CIV NSWC PC wrote:

>A calculation gives me the following as a part of the output that I see
>on the screen: (i = Imaginary)
>-0.262484 i  Exp[-0.951249 i t] +   0.262484 i Exp[0.951249 i t]
>I want to apply ExpToTrig and , of course, end up with 0 for the Cosine
>part and - .262484*2  Sin [0.951249] for the Sine part ...
>instead I get  (which I decided to look at output with InputForm)
>(-0.2624844042359744*I)*Cos[0.9512492197250393*t] +
>(0.26248440423597375*I)*Cos[0.9512492197250397*t] -
> 0.2624844042359744*Sin[0.9512492197250393*t] -
>I can see from this that the coefficients and exponent numbers are very
>close but not identical  although , I think, in theory they should be.
>I'm not worried about the 10th decimal place.    How do i get the result
>I want in a general way?
>thanks....jerry blimbaum
Here is what I get on your expression after applying ExpToTrig and Chop
I am not quite sure how you get the expression you posted

I* Exp[-0.951249 i* t]+0.262484 *I Exp[0.951249 i *t]//ExpToTrig//

5.1 for Microsoft Windows (January 27, 2005)


Hope this helps


Pratik .

Pratik Desai 

...Moderation, as well as Regularity of Thinking, so much to be wished for in the Heads of those who imagine they come into the World only to watch and govern it?s Motion
Gulliver's Travels
by Jonathan Swift

  • Prev by Date: Re: Extracting information from lists
  • Next by Date: Re: Extracting information from lists
  • Previous by thread: ExpToTrig with Real Numbers
  • Next by thread: Re: ExpToTrig with Real Numbers