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=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=0. Since, the smallest negative real root in magnitude is required; we form a table of values for x<0.

Since, f(−3)f(−2)<0, the negative root of smallest magnitude lies in the interval
(−3,−2). So we put the initial approximation as x0=−2.5. We have the following.
f(x)=x3+x+12=0,f′(x)=3x2+1
We use the Newton-Raphson method.
xk+1=xk−f′(xk)f(xk)
We have the following results.
xk+1=xk−3xk2+1xk3+xk+12=3xk2+12xk3−12,k=−1,−2,…
We start with x0=−2.5 and obtained
x1=3(−2.5)2+12(−2.5)3−12=19.75−43.25=−2.190,x2=3(−2.190)2+12(−2.190)3−12=15.3883−33.007=−2.145x3=3(−2.145)2+12(−2.145)3−12=14.803−31.738=−2.144x4=3(−2.144)2+12(−2.144)3−12=14.790−31.711=−2.144
Finally we found that the root correct to three decimal places is x≈−2.144.
www.AssignmentExpert.com