Use the bisection methos to find solutions accurate to within 10^-2 for x^3-7x^2+14x-6=0 for each interval [0,1],[1,3.2],[3.2,4].
I don't know how to find the number of iterations necessary for each interval. Thanks!
Use the bisection methos to find solutions accurate to within 10^-2 for x^3-7x^2+14x-6=0 for each interval [0,1],[1,3.2],[3.2,4].
I don't know how to find the number of iterations necessary for each interval. Thanks!
The interval length is halved at every iteration so after n steps the inteval length is $\displaystyle a\times 2^{-n}$ where $\displaystyle a$ is the initial interval length.
So if we want the $\displaystyle n$-th interval to be less than or equal $\displaystyle 10^{-2}$ we need:
$\displaystyle 10^{-2}\ge a\times 2^{-n}$
.