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