Post Reply 
Solve crash
04-05-2016, 03:23 PM
Post: #18
RE: Solve crash
As explained above, the polynomial rooter fails (because the precision is not sufficient to find the eigenvalues of the companion matrix numerically), that's why you get wrong roots with proot/fsolve/cfsolve on the Prime.
For polynomial equations with exact coefficients, realroot (in Xcas) will return isolation intervals (i.e. intervals where there is exactly one root), and you can give a precision parameter to refine the isolation interval. There are 3 real roots, you can check that on the Prime
Code:
ma:=maxnorm(coeff(p))+1; sturmab(p,-ma,ma);
Unfortunately, realroot is yet another command that was disabled on the Prime :-(
On the Prime, you can give an initial guess and the iterative method converges:
Code:
fsolve(48.*x*(1.+x)^60 -(1.+x)^60. +1.=0,x=1);
fsolve(48.*x*(1.+x)^60 -(1.+x)^60. +1.=0,x=-2)
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
Solve crash - lrdheat - 04-03-2016, 10:04 PM
RE: Solve crash - compsystems - 04-03-2016, 10:42 PM
RE: Solve crash - lrdheat - 04-03-2016, 11:25 PM
RE: Solve crash - lrdheat - 04-03-2016, 11:52 PM
RE: Solve crash - toshk - 04-04-2016, 02:53 AM
RE: Solve crash - lrdheat - 04-04-2016, 04:32 AM
RE: Solve crash - parisse - 04-04-2016, 06:06 AM
RE: Solve crash - compsystems - 04-04-2016, 07:53 PM
RE: Solve crash - DrD - 04-04-2016, 03:27 PM
RE: Solve crash - Marcel - 04-04-2016, 05:35 PM
RE: Solve crash - Han - 04-04-2016, 07:00 PM
RE: Solve crash - jebem - 04-05-2016, 11:22 AM
RE: Solve crash - parisse - 04-05-2016, 06:34 AM
RE: Solve crash - jebem - 04-05-2016, 12:36 PM
RE: Solve crash - retoa - 04-05-2016, 01:57 PM
RE: Solve crash - lrdheat - 04-05-2016, 02:36 PM
RE: Solve crash - lrdheat - 04-05-2016, 02:40 PM
RE: Solve crash - retoa - 04-06-2016, 06:12 AM
RE: Solve crash - parisse - 04-05-2016 03:23 PM
RE: Solve crash - lrdheat - 04-05-2016, 04:34 PM
RE: Solve crash - parisse - 04-05-2016, 06:10 PM



User(s) browsing this thread: 1 Guest(s)