The function x3 2x2 4x 8 has a double root at x 2 use th

The function x^3 - 2x^2 - 4x + 8 has a double root at x = 2, use the standard Newton-Raphson (Equation 6.6 in the book) to solve for the root at x = 2. Compare and discuss the rate of convergence using an initial guess of x_0 = 1.2

Solution

We know that formula for Newton Raphson method,

xn+1 = xn - f(xn)/ f\'(xn)

given that f(xn) = xn3-2xn2-4xn+8

df(xn)/dx = f\'(xn) = 3xn2-4xn-4

xn+1 = xn - (xn3-2xn2-4xn+8)/(3xn2-4xn-4)

xn+1 = (3x3n-4x2n-4xn-xn3+2xn2+4xn-8)/ (3xn2-4xn-4)

xn+1 = (2x3n-2x2n-8)/(3xn2-4xn-4) ----------- equation (1)

now given that x0 = 1.2

simply put value of x0 in above euuation 1.

we will calculate x1 then by puttiing the value of x1 in equation 1 we will calculate x2 and so on.

As we will calculate further our answer will approach toward 1.9999. which is the equal to the root 2.

the convergence rate of Newton-Raphson method is -

alpha = scaling factor / No. of Iterations * |f(r)|

where r is the estimated root and in case f (r)= 0, the formula fails.

 The function x^3 - 2x^2 - 4x + 8 has a double root at x = 2, use the standard Newton-Raphson (Equation 6.6 in the book) to solve for the root at x = 2. Compare

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site