Question #46672

Find an interval of unit length which contains the smallest negative root in magnitude
of the equation 12 0
3
x + x + = . Taking the midpoint of this interval as initial
approximation and using Newton-Raphson method find the root correct to three
decimal places.

Expert's answer

Answer on Question #46672 – Math – Algorithms | Quantitative Methods

Find an interval of unit length which contains the smallest negative root in magnitude of the equation x3+x+12=0x^3 + x + 12 = 0. Taking the midpoint of this interval as initial approximation and using Newton-Raphson method find the root correct to three decimal places.

Solution:

Let f(x)=x3+x+12=0f(x) = x^3 + x + 12 = 0. Since, the smallest negative real root in magnitude is required; we form a table of values for x<0x < 0.



Since, f(3)f(2)<0f(-3)f(-2) < 0, the negative root of smallest magnitude lies in the interval

(3,2)(-3, -2). So we put the initial approximation as x0=2.5x_0 = -2.5. We have the following.


f(x)=x3+x+12=0,f(x)=3x2+1f(x) = x^3 + x + 12 = 0, f'(x) = 3x^2 + 1


We use the Newton-Raphson method.


xk+1=xkf(xk)f(xk)x_{k+1} = x_k - \frac{f(x_k)}{f'(x_k)}


We have the following results.


xk+1=xkxk3+xk+123xk2+1=2xk3123xk2+1,k=1,2,x_{k+1} = x_k - \frac{x^3_k + x_k + 12}{3x^2_k + 1} = \frac{2x^3_k - 12}{3x^2_k + 1}, \quad k = -1, -2, \dots


We start with x0=2.5x_0 = -2.5 and obtained


x1=2(2.5)3123(2.5)2+1=43.2519.75=2.190,x_1 = \frac{2(-2.5)^3 - 12}{3(-2.5)^2 + 1} = \frac{-43.25}{19.75} = -2.190,x2=2(2.190)3123(2.190)2+1=33.00715.3883=2.145x_2 = \frac{2(-2.190)^3 - 12}{3(-2.190)^2 + 1} = \frac{-33.007}{15.3883} = -2.145x3=2(2.145)3123(2.145)2+1=31.73814.803=2.144x_3 = \frac{2(-2.145)^3 - 12}{3(-2.145)^2 + 1} = \frac{-31.738}{14.803} = -2.144x4=2(2.144)3123(2.144)2+1=31.71114.790=2.144x_4 = \frac{2(-2.144)^3 - 12}{3(-2.144)^2 + 1} = \frac{-31.711}{14.790} = -2.144


Finally we found that the root correct to three decimal places is x2.144x \approx -2.144.

www.AssignmentExpert.com


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS