You are on page 1of 1

f(x) = x^2 + x - 5

xl= 1 Es= 0.001


xu= 5

Iteration xl xu xr f(xl) f(xr) Ea Remarks


0 1 5 3 -3 7 Continue
1 1 3 2 -3 1 0.5 Continue
2 1 2 1.5 -3 -1.25 0.333333 Continue
3 1.5 2 1.75 -1.25 -0.1875 0.142857 Continue
4 1.75 2 1.875 -0.1875 0.390625 0.066667 Continue
5 1.75 1.875 1.8125 -0.1875 0.097656 0.034483 Continue
6 1.75 1.8125 1.78125 -0.1875 -0.0459 0.017544 Continue
7 1.78125 1.8125 1.796875 -0.0459 0.025635 0.008696 Continue
8 1.78125 1.796875 1.789063 -0.0459 -0.01019 0.004367 Continue
9 1.789063 1.796875 1.792969 -0.01019 0.007706 0.002179 Continue
10 1.789063 1.792969 1.791016 -0.01019 -0.00125 0.001091 Continue
11 1.791016 1.792969 1.791992 -0.00125 0.003228 0.000545 Stop
12
13
14
15

You might also like