I have these question and I cannot solve it.
Can somebody help me?
Use Müller’s method to determine the roots of $$ f(x)=2x^5−2x^4+6x^3−6x^2+8x−8 $$ Choose $x_2=0.8 $, $x_0=0.808$ $x_1=0.792$.
Terminate your computation when the approximate relative error falls below $E_s = 10^{-4}$
The essential formulas in https://en.wikipedia.org/wiki/Muller%27s_method are $$ w = f[x_{k-1},x_{k-2}] + f[x_{k-1},x_{k-3}] - f[x_{k-2},x_{k-3}]. \, $$ and $$ x_{k} = x_{k-1} - \frac{2f(x_{k-1})}{w \pm \sqrt{w^2 - 4f(x_{k-1})f[x_{k-1}, x_{k-2}, x_{k-3}]}}. $$
The most difficult part is to find striking variable names... Set
x1for $x_{k-1}$,x2for $x_{k-2}$ etc. andf1=f(x1)forf(x_{k-1}),f2=f(x2), etc. andf12=(f1-f2)/(x1-x2)for $f[x_{k-1},x_{k-2}]$,f23=(f2-f3)/(x2-x3)andf13=(f1-f3)/(x1-x3)and finallyf123=(f12-f23)/(x1-x3)for $f[x_{k-1},x_{k-2},x_{k-3}]$Log of the computation
Check: $$ 2x^5−2x^4+6x^3−6x^2+8x−8=2(x-1)(x^4+3x^2+4)=2(x-1)((x^2+2)^2-x^2)\\ =2(x-1)(x^2-x+2)(x^2+x+2) $$ with roots $1$ and $\pm\frac12\pm i·\frac{\sqrt{7}}2$, independent signs for 4 roots.