Re: Absolute value
- To: mathgroup at smc.vnet.net
- Subject: [mg110604] Re: Absolute value
- From: Patrick Scheibe <pscheibe at trm.uni-leipzig.de>
- Date: Mon, 28 Jun 2010 02:27:19 -0400 (EDT)
Hi, try to use ComplexExpand. Cheers Patrick On Sun, 2010-06-27 at 04:55 -0400, Marco Masi wrote: > I would like to calculate the absolute value of complex quantities. For example Abs[Exp[I phi1]+Exp[I*phi2]], which sould give 2 (1+cos(phi1-phi2)). However it does not work. I tried to use real numbers as assumtion, but it always answers "Abs[Exp[I phi1]+Exp[I*phi2]]". What am I doing wrong? > > Regards, Mark. >