[Math] Using Newton’s method, find the root of $x^3+2x-1$ with an accuracy of $5$ decimal places

newton raphsonnumerical methods

Using Newton's method, find the root of $x^3+2x-1$ with an accuracy of $5$ decimal places.

I think the solution is $0.45339$. Am I wrong?

Best Answer

Does $x^3+2x-1$ have different signs for $x=0.453385$ and $x=0.453395$? If so, that's s root with 5 digits accuracy.

But actually, according to my calculator we have

$$\begin{array}{c|c} x & x^3+2x-1 \\ \hline 0.453385 & \approx -3\times 10^{-5} \\ 0.453395 & \approx -7\times 10^{-6} \\ 0.453400 & \approx +6\times 10^{-6} \end{array} $$ so the root is between $0.453395$ and $0.453400$, and should therefore be given with 5 significant digits as $0.45340$.


Since the exercise specifically asks you to use Newton's method, however, most of what you will be judged on is probably setting up the right expression to iterate, showing your successive approximations, and demonstrating when to stop iterating.

Related Question