Multiple roots formula with Matlab
Show older comments
f(x)= x^4- 6x^3 + 12x^2 - 10x +3
Starting point x0=0
Find x1,x2,x3
I need the find these points with the multiple roots formula = fi+1 = fi - (f(xi)*f '(xi)) / ([f '(xi)]^2 - f(xi)* f ''(xi))
Can anyone understand this and help us out, thanks a lot.
Accepted Answer
More Answers (2)
Not likely the point of the exercise but this works:
syms x; solve(x^4- 6*x^3 + 12*x^2 - 10*x +3==0,'ReturnConditions',true)
ans.x
Categories
Find more on Mathematics in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

