[Maxima] tips for Multiple roots of non-algebric equations
raymond.toy at ericsson.com
Mon Jan 5 09:51:12 CST 2009
>>>>> "Luigi" == Luigi Marino <luigi_marino2 at alice.it> writes:
Luigi> I try to solve non-algebric equations with multiple roots. :
Luigi> 1. first example.
Luigi> for k:-12 thru -3 step 1 do print("x="(newton(f,x,k,0.0000000001)))$
Are you bothered that you get the same roots again?
Luigi> 3. third example
Luigi> for k:0 thru 1 step 1 do print("x="(newton(h,x,k,0.0000000001)))$
Are you bothered that you get roots outside of the interval [0,1]?
I think that's the nature of Newton's method. Your initial guess has
to be close enough to the root to converge to the root; different
starting points can converge to the same root. And nothing constrains
Newton's method to stay in any given interval.
More information about the Maxima