You are on page 1of 1

To Solve: 2 - x + ln(x)

BISECTION METHOD
i x(l) x(r) f(l) f(r) x(i+1) f(i+1) f(l)f(i+1) Error
1 1 4 1 -0.613706 2.859075 0.191423 0.191423 1.859075
2 2.859075 4 0.191423 -0.613706 3.130335 0.010805 0.002068 0.27126
3 3.130335 4 0.010805 -0.613706 3.145382 0.000554 5.982E-06 0.015046
4 3.145382 4 0.000554 -0.613706 3.146152 2.822E-05 1.562E-08 0.00077
5 3.146152 4 2.822E-05 -0.613706 3.146191 1.438E-06 4.059E-11 3.926E-05
6 3.146191 4 1.438E-06 -0.613706 3.146193 7.33E-08 1.054E-13 2E-06
7 3.146193 4 7.33E-08 -0.613706 3.146193 3.736E-09 2.738E-16 1.02E-07

You might also like