Exercise 2

Use Newton's method to find the real root of f[x] = x^5 - 2 x - 2. You may want to plot the graph to get an initial guess. Newton's method will also find complex roots if the initial guess is non-real. Try to find some complex roots of f.

Up to The Algorithm