Services & Resources / Wolfram Forums / MathGroup Archive

MathGroup Archive 2010

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

Search the Archive

Re: Absolute value

  • To: mathgroup at
  • Subject: [mg110604] Re: Absolute value
  • From: Patrick Scheibe <pscheibe at>
  • Date: Mon, 28 Jun 2010 02:27:19 -0400 (EDT)


try to use ComplexExpand.


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.

  • Prev by Date: Re: Sum of terms --> list
  • Next by Date: numerical integration
  • Previous by thread: Absolute value
  • Next by thread: Re: Absolute value