Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

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

Search the Archive

Re: Complex numbers in Mathematica

  • To: mathgroup at smc.vnet.net
  • Subject: [mg61691] Re: [mg61647] Complex numbers in Mathematica
  • From: Murray Eisenberg <murray at math.umass.edu>
  • Date: Wed, 26 Oct 2005 01:01:46 -0400 (EDT)
  • Organization: Mathematics & Statistics, Univ. of Mass./Amherst
  • References: <200510250107.VAA16788@smc.vnet.net>
  • Reply-to: murray at math.umass.edu
  • Sender: owner-wri-mathgroup at wolfram.com

In the regular Mathematica, version 5.2 (NOT the Teacher's Edition), I get:

   Factor[(5 - 3I) + (-4 + I)x + (1 - I)x^2]
((1 + I) - I*x)*((1 - 4*I) + (1 + I)*x)

(output shown in InputFormat above).

Per Rønne wrote:
> If I write:
> 
> In[8]=Factor[(5 - 3I) + (-4 + I)x + (1 - I)x^2]
> 
> I get
> Nonreal::"warning": "Nonreal number encountered."
> Out[8]= Nonreal
> 
> The same with Sqrt[-1].
> 
> Why doesn't it show the complex numbers? According to the books it
> should - is it a matter of preferences set?
> 
> I'm using Mathematica Teacher's Edition 1.1 on MacOS X.

-- 
Murray Eisenberg                     murray at math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305


  • Prev by Date: Re: Complex numbers in Mathematica
  • Next by Date: Re: Timing for a cell
  • Previous by thread: Re: Complex numbers in Mathematica
  • Next by thread: Re: Complex numbers in Mathematica