MathGroup Archive 2002

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

Search the Archive

Re: Absolute Value of Complex Numbers

  • To: mathgroup at smc.vnet.net
  • Subject: [mg35205] Re: [mg35196] Absolute Value of Complex Numbers
  • From: Daniel Lichtblau <danl at wolfram.com>
  • Date: Tue, 2 Jul 2002 02:12:02 -0400 (EDT)
  • References: <200207010734.DAA17391@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

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