You are on page 1of 3

BISECTION METHOD

Question: Determine the root of the given equation x^2-


a =1 f(a) = -2
b= 2 f(b)= 1

midpoint
(m)= 1.5 f(m)= -0.75

Iteration a f(a) b f(b)


0 1.00000 -2.0000 2.00000 1.00000
1 1.50000 -0.7500 2.00000 1.00000
2 1.50000 -0.7500 1.75000 0.06250
3 1.62500 -0.3594 1.75000 0.06250
4 1.68750 -0.1523 1.75000 0.06250
5 1.71875 -0.0459 1.75000 0.06250
6 1.71875 -0.0459 1.73438 0.00806
7 1.72656 -0.0190 1.73438 0.00806
8 1.73047 -0.0055 1.73438 0.00806
9 1.73047 -0.0055 1.73242 0.00129
10 1.73145 -0.0021 1.73242 0.00129
given equation x^2-3 = 0 for x ∈ [1, 2] 𝜀=𝑎−𝑏=0.001

m f(m) |a-b|
1.50000 -0.75000 1.00000
1.75000 0.06250 0.50000
1.62500 -0.35938 0.25000
1.68750 -0.15234 0.12500
1.71875 -0.04590 0.06250
1.73438 0.00806 0.03125
1.72656 -0.01898 0.01563
1.73047 -0.00548 0.00781
1.73242 0.00129 0.00391
1.73145 -0.00210 0.00195
1.73193 -0.00041 0.00098
𝑎−𝑏=0.001

You might also like