Given,
2x3+2sin(2x)−5=0
⇒f(x)=2x3+2sin(2x)−5
Now, x=0, 1, 2...
1st Iteration:
f(1)=−1.1814<0 and f(2)=9.4864>0
Now, root lies between 1 and 2.
xo=21+2=1.5
f(xo)=f(1.5)=2∗1.53+2sin(3)−5=2.0322>2
2nd Iteration:
f(1)=−1.1814<0
and f(1.5)=2.0322>0
Root lies between 1 and 1.5
x1=21+1.5=1.25
f(x1)=f(1.25)=2∗1.253+2sin(2.5)−5=0.1032>0
3rd Iteration:
Here f(1)=−1.1814<0 and f(1.25)=0.1032>0
Now, Root lies between 1 and 1.25
x2=21+1.25=1.125
Comments