You are on page 1of 1

Q4.

By employing an initial guess of 𝑥0 = 1, use the Newton Raphson method to estimate the
root for sin 𝑥 = 𝑥2 accurate to within 𝜀 = 0.001.

f(x) = 0
0 + sin x = x2
0 = x2 – sin x
f(x) = x2 – sin x
f ‘(x) = 2x – cos x

Check:
f(1) = 0.98 ≠ 0
f ‘(1) = 1 ≠ 0

i xi f(xi) f ‘(xi) f(xi) / f ‘(xi) | f(xi) |


0 1.0000 0.9825 1.0000 0.9825 0.9825
1 0.0175 0 -0.9650 0 0

Root, x = 0.0175 Reaching stopping


criteria

You might also like