Question #42257

Using Newton-Raphson method approximates the root of the following equation in the interval (0,1) upto the three decimal places.
f(x)=3x-cosx-1
Note: All the calculations should be in radian.

Expert's answer

Answer on Question #42257, Math, Linear Algebra

Problem. Using Newton-Raphson method approximates the root of the following equation in the interval (0,1)(0,1) up to the three decimal places


f(x)=3xcosx1f(x) = 3x - \cos x - 1


Note: All the calculations should be in radian.

Solution. The derivative of the function ff equals


f(x)=3+sinx.f'(x) = 3 + \sin x.


Let x0=0x_0 = 0. By Newton-Raphson method the better approximation x1x_1 equals


x1=x0f(x0)f(x0)=0230.666667.x_1 = x_0 - \frac{f(x_0)}{f'(x_0)} = 0 - \frac{-2}{3} \approx 0.666667.


The second approximation x2x_2 equals


x2=x1f(x1)f(x1)0.6666670.2141133.618370.607493.x_2 = x_1 - \frac{f(x_1)}{f'(x_1)} \approx 0.666667 - \frac{0.214113}{3.61837} \approx 0.607493.


The second approximation x3x_3 equals


x3=x2f(x2)f(x2)0.6074930.0013973.5708110.607102.x_3 = x_2 - \frac{f(x_2)}{f'(x_2)} \approx 0.607493 - \frac{0.001397}{3.570811} \approx 0.607102.


The root equals x0.607x^* \approx 0.607, as x3x2<0.001|x_3 - x_2| < 0.001.

Answer. x0.607x^* \approx 0.607.

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