Chapter31Newton’s Method and Comparing Root-Finding Algorithms
We want to write a program that finds the solution to equations \(f(x) = 0\text{,}\) but this time using Newton’s method instead of bisection. Newton’s method is very widely used in scientific computing, and provides a powerful (and often much faster) way to solve equations of this form. Here’s what we’ll cover: