MathGroup Archive 2002

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

Search the Archive

RE: Absolute Value of Complex Numbers


Kyle,

You are assuming that k is a real number, but Mathematica doesn't assume
that. Use ComplexExpand to Simplify. (Perhaps they should have called it
ComplexSimplify.)

Abs[2 Exp[k*I]] // ComplexExpand
2

David Park
djmp at earthlink.net
http://home.earthlink.net/~djmp/

> From: Kyle Davis [mailto:kyledavis at nowhere.com]
To: mathgroup 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: I NEED HELP WITH THIS
  • Previous by thread: Re: Absolute Value of Complex Numbers
  • Next by thread: Re: Absolute Value of Complex Numbers