The Newton-raphson method, visualized below, finds roots of a function by:

  1. Starting with an initial guess of the root .
  2. Defining .
  3. Iterating until is close to zero and/or the sequence of does not oscillate a lot.