Mathematica 9 is now available
Student Support Forum
-----
Student Support Forum: 'converting complex exponential to real trig' topicStudent Support Forum > General > Archives > "converting complex exponential to real trig"

Next Comment >Help | Reply To Topic
Author Comment/Response
Ed Nowak
03/25/12 11:29pm

I'm getting output in the form

(a-ib).e^[(-p-iq)t] + (a+ib).e^[(-p+iq)t]

but I would like to get this output in the form

2.sqrt(a^2+b^2).e^(-pt).Cos[qt +ArcTan(b/a)]

To be clear, in the above the "^" represents exponentiation, "i" is the symbol for Sqrt(-1) and "t" is time.
How can I write a function to make this conversion for arbitrary a,b,p,q?
Please see attachment.

Attachment: Circuit-8.nb, URL: ,

Subject (listing for 'converting complex exponential to real trig')
Author Date Posted
converting complex exponential to real trig Ed Nowak 03/25/12 11:29pm
Re: converting complex exponential to real trig Bill Simpson 03/27/12 01:27am
Next Comment >Help | Reply To Topic