MathGroup Archive 2002

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

Search the Archive

Re: Absolute Value of Complex Numbers

And how is Mathematica to know what k is? For example, it could be = I, 
which will give the answer 2/E and so on. Of course you meant k to be 
real but unfortunately Mathematica's mind reading technology is still in 
the development stage and won't be available before version 9.1. In the 
mean time you have to use:

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



Simplify[Abs[2 Exp[k*I]],Element[k,Reals]]


which is really more than enough.

Andrzej Kozlowski
Toyama International University

On Monday, July 1, 2002, at 04:34  PM, 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?

  • Prev by Date: Re: Absolute Value of Complex Numbers
  • Next by Date: Simplifying the *Individual Coefficients* in Series Expansions?
  • Previous by thread: Re: Absolute Value of Complex Numbers
  • Next by thread: RE: RE: Absolute Value of Complex Numbers