The Newton-Raphson method is the most popular method for solving nonlinear equations. This method is, in general,
very suitable for its convenience and computation efficiency.
The Newton-Raphson method uses the following iteration relation:
xn + 1 = xn - f (xn) / f '(xn)
Where f '(xn) is the first derivative of function f(x).
Starting with the initial value, xn, it is possible to find the next guess, xn + 1, by
using the above iteration relation. This process can be repeated until the solution within a given tolerance is found.