Approximate a root of f(x) from a starting guess using Newton's method — with the full iteration table, the converged root, and a graph.
Newton's method refines a root with xₙ₊₁ = xₙ − f(xₙ)/f′(xₙ). Pick a starting guess near the root.