|
[Date Index]
[Thread Index]
[Author Index]
Re: Complex numbers in Mathematica
- To: mathgroup at smc.vnet.net
- Subject: [mg61687] Re: [mg61647] Complex numbers in Mathematica
- From: Bob Hanlon <hanlonr at cox.net>
- Date: Wed, 26 Oct 2005 01:01:40 -0400 (EDT)
- Reply-to: hanlonr at cox.net
- Sender: owner-wri-mathgroup at wolfram.com
Factor[(5-3I)+(-4+I)x+(1-I)x^2]
((1 + I) - I*x)*((1 + I)*x + (1 - 4*I))
Sqrt[-1]
I
However, after loading the standard add-on package
Miscellaneous`RealOnly`
Needs["Miscellaneous`RealOnly`"];
Factor[(5-3I)+(-4+I)x+(1-I)x^2]
Nonreal::warning: Nonreal number encountered.
Nonreal
Sqrt[-1]
Nonreal::warning: Nonreal number encountered.
Nonreal
Quit the kernel and start over.
Bob Hanlon
>
> From: per at RQNNE.invalid (Per Rønne)
To: mathgroup at smc.vnet.net
> Date: 2005/10/24 Mon PM 09:07:04 EDT
> Subject: [mg61687] [mg61647] Complex numbers in Mathematica
>
> 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.
> --
> Per Erik Rønne
>
>
Prev by Date:
Re: 3D plots in different colors
Next by Date:
Re: Complex numbers in Mathematica
Previous by thread:
Re: Complex numbers in Mathematica
Next by thread:
Re: Complex numbers in Mathematica
|