I have the polynomial function $f (x) = x^5+2x^2+1$.
I am trying to find an approximation to its root in $[-2,-1]$, with the precision of $0.1$, and with a minimal number of steps. The answer I was given was $-17/16$. I find it incorrect, and I wish to ask for your assistance.
I have calculated $f(-2)$ and $f(-1)$, and found different signs. I then took $f(-1.5)$, $f(-1.25)$ and so on. I found that $f(-1.34375)=0.23$ and $f(-1.359375)=0.054$. Therefore, my calculations show that a precision of $0.1$ cannot be reached, and that the answer is incorrect.
What am I doing wrong ? Thank you.
As you appear to be using the bisection method you should have:
Step1
Step2:
Step3:
So we now have the root is in the interval $(-1.375,-1.25)$ and the mid point of this interval $-1.3125$ is within $0.0625$ of the end points and so within $0.1$ of the root.