Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'Real Parts of Imaginary Functions' topicStudent Support Forum > General > Archives > "Real Parts of Imaginary Functions"

Next Comment >Help | Reply To Topic
Author Comment/Response
Chat
08/27/11 8:10pm

If I were to evaluate the following expression:

f[x_] = Re[ExpToTrig[E^(I*x)]]

f[x] would equal Cos[x]. However, the Mathematica output indicates that f[x] = -Im[Sin[x]]+Re[Cos[x]]

Is there a way to get the real portion resulting from the conversion e^ix to a trigonometric function?

We know the answer should be just Cos[x]...

The attached notebook confirms this phenomenon.

Attachment: RealPart.nb, URL: ,

Subject (listing for 'Real Parts of Imaginary Functions')
Author Date Posted
Real Parts of Imaginary Functions Chat 08/27/11 8:10pm
Re: Real Parts of Imaginary Functions Patrick 08/28/11 5:06pm
Re: Real Parts of Imaginary Functions yehuda ben-s... 08/29/11 07:28am
Re: Re: Real Parts of Imaginary Functions Chat M 08/29/11 6:27pm
Next Comment >Help | Reply To Topic