MathGroup Archive 1997

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

Search the Archive

Factor[] and real numbers???


Hi

According to the Mathematica Book, 
"Factor works only with exact Integer or Rational coefficients, not
 with Real numbers."
 
Knowing this, can anyone explain the following (strange?) results?
(I'm using Mathematica 2.2)
 
 
In[2]:= Factor[Pi x - Pi x^2]

Out[2]= Pi (1 - x) x

In[3]:= Factor[N[3/7,20] x - N[6/7,20]x^2]

Out[3]= 0.85714285714285714286 (0.5 - x) x

In[4]:= Factor[N[3/7,20] x - N[6/7,30]x^2]

Out[4]= 0.857142857142857142857142857143 (0.5 - x) x



Regards

Stefan Becuwe


  • Prev by Date: MathLink for Visual Basic Workshop
  • Next by Date: Re: 3-Script Mesh option
  • Previous by thread: MathLink for Visual Basic Workshop
  • Next by thread: Re: 3-Script Mesh option