MathGroup Archive 2002

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

Search the Archive

Re: Absolute Value of Complex Numbers


Kyle Davis wrote:
> 
> Abs[2 Exp[3 * i]]
> answer = 2
> 
> Abs[2 Exp[k * i]]
> answer = 2 Exp[-Im[k]]
> 
> Isn't the second answer supposed to be the same with the first one,
> regardless with the value of k? How do I make the second calculation give me
> the right answer?

In[6]:= ComplexExpand[Abs[2*Exp[k*I]], k] // InputForm
Out[6]//InputForm= 2/E^Im[k]

Daniel Lichtblau
Wolfram Research


  • Prev by Date: Re: Absolute Value of Complex Numbers
  • Next by Date: Re: Absolute Value of Complex Numbers
  • Previous by thread: Absolute Value of Complex Numbers
  • Next by thread: Re: Absolute Value of Complex Numbers