Re: Exponential form
- To: mathgroup at smc.vnet.net
- Subject: [mg60058] Re: Exponential form
- From: Peter Pein <petsie at dordos.net>
- Date: Wed, 31 Aug 2005 00:24:53 -0400 (EDT)
- References: <df16c3$5n6$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Miguel schrieb: > Hi, > When I operate with complex numbers in Exponential Form, Mathematica > yields in complex form. How can I operate with Exponential Form. For > example, > > In: h=a E^(I b)+ c E^(I d) > Out: f E^(I g) > > I tried with Abs[h] E^(Arg[h]) but it does not work > > Thanks > {f,g} = Simplify[ComplexExpand[#[a*E^(I*b) + c*E^(I*d)]& /@ {Abs, Arg}]] --> {Sqrt[a^2 + c^2 + 2*a*c*Cos[b - d]], ArcTan[a*Cos[b] + c*Cos[d], a*Sin[b] + c*Sin[d]]} -- Peter Pein, Berlin GnuPG Key ID: 0xA34C5A82 http://people.freenet.de/Peter_Berlin/