Show worked solution
Worked solution
Set up the Newton-Raphson iteration
Form the explicit formula from f and f'.
Iterate from x_0 until the value stabilises
Repeated iteration converges to the root to the required accuracy.
Confirm the root with a sign change
Opposite signs either side confirm the root rounds to this value.
Write down the function
This is the function whose root we are approximating.
Differentiate the function
The derivative gives the slope of the tangent used at each step.
Substitute f and f' into the formula
This gives the explicit iterative formula for this function.
Interpret the step geometrically
The next estimate is where the tangent at x_n meets the x-axis.
Set y=0 on the tangent
The x-intercept of the tangent defines the next approximation.
Rearrange the tangent equation for x
This rearrangement recovers the Newton-Raphson formula.
Recall the Newton-Raphson iteration
Each new estimate is the previous one minus f divided by f'.
Note a possible failure condition
A stationary point gives a horizontal tangent, so the method breaks down.
Comment on the starting value
A poor starting point may diverge or converge to a different root.
Confirm a root by a sign change
Opposite signs across an interval show a root lies between a and b.
State the required accuracy
Full precision is kept while iterating and rounding is done at the end.
State the root to the required accuracy
This is the root to 6 decimal places.