MathGroup Archive 2002

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

Search the Archive

Re: Complex numbers

  • To: mathgroup at
  • Subject: [mg37151] Re: [mg37138] Complex numbers
  • From: Bill Rowe <listuser at>
  • Date: Sun, 13 Oct 2002 05:56:40 -0400 (EDT)
  • Sender: owner-wri-mathgroup at

On 10/12/02 at 5:05 AM, pascal at (CeZaR) wrote:

>I want to perform this calculation:
>In[1]:=z1 = a1 + b1 I Out[1]=a1 + \[ImaginaryI] b1 In[3]:=z2 = a2 + b2
>I Out[3]=a2 + \[ImaginaryI] b2 In[19]:=Abs[(z1 - z2)/(1 - z1
>This should output 1! But it doesn't work...
>Also, Abs[a1+b1 I] doesn't get the right result. Any ideeas?

What do you mean by "doesn't work" and "doesn't get the right result"? Do you mean Mathematica returns an unevaluated expression? If so, have you assigned  values to the symbols a1, b1, a2 and b2? If you haven't assigned values, how is Mathematica to know these symbols do not take on complex values?

  • Prev by Date: Re: re: Accuracy and Precision
  • Next by Date: Re: Table using as iterator a multiple of 10, 100, ...,10^n
  • Previous by thread: Complex numbers
  • Next by thread: Re: Complex numbers