Question
Question: Solve 2x – cosx – 3 = 0 by using the method of successive approximations correct of three decimal pl...
Solve 2x – cosx – 3 = 0 by using the method of successive approximations correct of three decimal places.
Answer
1.523
Explanation
Solution
Let the given equation be f(x)=2x−cosx−3=0.
We use the Newton-Raphson method: xn+1=xn−f′(xn)f(xn).
f′(x)=2+sinx.
The iteration formula is xn+1=xn−2+sinxn2xn−cosxn−3.
Evaluate f(1)≈−1.54 and f(2)≈1.42. A root exists between 1 and 2.
Choose initial guess x0=1.5.
Iterate:
x1≈1.5−f′(1.5)f(1.5)≈1.5−2.9975−0.0707≈1.5236.
x2≈1.5236−f′(1.5236)f(1.5236)≈1.5236−2.99900.000897≈1.5233.
x3≈1.5233−f′(1.5233)f(1.5233)≈1.5233−2.99910.000000≈1.5233.
The value converges to 1.5233.
Rounding to three decimal places gives 1.523.
Verify f(1.523)≈−0.00081, which is close to zero.
The root correct to three decimal places is 1.523.