Newton-Raphson method for f(x) = x^3 + 4x^2 - 3x + 8 starting at x0 = -5