
William W. answered 04/07/23
Experienced Tutor and Retired Engineer
You can use the equation:
to estimate the zeros using Newton's Method we need f '(x):
f '(x) = 3 + sin(x)
For x0 = 5, calculate x1:
x1 = x0 - f(x0)/f '(x0)
f(5) = 3(5) - cos(5) = 15 - 0.283662 = 14.71634
f '(5) = 3 + sin(5) = 3 + -0.95892 = 2.04108
So x1 = 5 - 14.71634/2.04108 = -2.21009
For x1 = -2.21009, calculate x2:
x2 = x1 - f(x1)/f '(x1)
f(-2.21009) = 3(-2.210090) - cos(-2.21009) = -6.03364
f '(-2.21009) = 3 + sin(-2.21009) = 3 + -0.802518 = 2.19748
So x2 = -2.21009 - -6.03364/2.19748 = 0.535617
For x2 = 0.535617, calculate x3:
x3 = x2 - f(x2)/f '(x2)
f(0.535617) = 3(0.535617) - cos(0.535617) = 0.746896
f '(0.535617) = 3 + sin(0.535617) = 3.51037
So x3 = 0.535617 - 0.746896/3.51037 = 0.322848 then round this as instructed.