Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2000
*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 2000

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

Search the Archive

bug in Root in Version 3?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg23894] bug in Root in Version 3?
  • From: Gianluca Gorni <gorni at dimi.uniud.it>
  • Date: Thu, 15 Jun 2000 00:51:34 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com

Hello!

I wrote a program that runs fine in version 4. When I tried it in
version 3 I saw different results. I traced the problem to
the function Root. It seems that V.3 Root does not necessarily
order real roots in increasing order.

Example:

Table[Root[2 + 12#1 - 14#1^3 &, n], {n, 3}] // N

gives

{1., -0.827327, -0.172673}

SetOptions[Root, ExactRootIsolation -> True] does not seem to
affect the result.

$Version:  "Solaris 3.0 (August 21, 1997)"

          Gianluca Gorni




  • Prev by Date: Integrate returns 0
  • Next by Date: Re: Plot List of {{x1,y1,z1}, {x2,y2,z2},...}
  • Previous by thread: Re: Integrate returns 0
  • Next by thread: Re: bug in Root in Version 3?