Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

.Write a program implementing Newton\'s method. The program should be given as i

ID: 2966507 • Letter: #

Question

.Write a program implementing Newton's method. The program should be given as inputs a function, its derivative, a starting point, a tolerance, and a maximum number of iterations. Use it to find zeroes of the functions below. For each function: i) Find a suitable guess. Ii) Comment on how difficult this guess was to find. Iii) Analyze the convergence by plotting the error as a function of the number of iteration on an appropriate graph. Iv) Determine if the rate of convergence you find in iii) is consistent with theory. (a) f(x) = x^4 - 5x^3 + x + 1 = 0. (b) g(x) = 2sin^2x - sin x + 0.125 (c) h(x) = 15e^8x - (1/15) e^-8x/15e^8x + (1/15) e^-8x = 0 Write a program implementing Newton method

Explanation / Answer

In numerical analysis, Newton's method (also known as the Newton