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: [mg35212] Re: Absolute Value of Complex Numbers
  • From: bghiggins at ucdavis.edu (Brian Higgins)
  • Date: Tue, 2 Jul 2002 02:12:28 -0400 (EDT)
  • References: <afp0oh$h08$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Kyle , Use ComplexExpand

Mathematica assumes the the variable "k" is  complex.

In[151]:=ComplexExpand[Abs[2 Exp[k*I]]]

Out[151]=2

Cheers,
Brian




"Kyle Davis" <kyledavis at nowhere.com> wrote in message news:<afp0oh$h08$1 at smc.vnet.net>...
> 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?


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