The Bisection Algorithm: Either No Solutions or Multiple Solutions Between Left and Right Bounds
The Bisection Algorithm: Either No Solutions or Multiple Solutions Between Left and Right Bounds
Enter your choices for left boundary and right boundary in the boxes to the lower left. If a single solution exists
between the boundaries the worksheet will indicate with "OK". If either no solutions or multiple solutions exist
This simulation will use the bisection algorithm to the worksheet will state it. Use the graph below to determine a better intial choice for boundaries.
determine the solution for ex = 2x + 5. The user will Function: ex -2x - 5 = 0
enter an initial value (guess) for both the left bound
and the right bound. Excel will determine if a solution Enter Left Boundary: -5
exists, and use the Bisection Algorithm to numerically
approximate the solution by solving ex -2x - 5 = 0. Either no solutions or multiple solutions between left and right bounds.
Enter Right Boundary: 4
Once appropriate boundary values are entered the bisection algorithm 2.2516323 -2.92187E-05 6E-05
will determine the midpoint between the initial boundaries, m. The 2.251634 -1.63386E-05
products of f(a)f(m) and f(b)f(m) are used to determine in which
interval the solution exists. The process of using the midpoint to 2.2516357 -3.45838E-06 4E-05
narrow the interval continues until 20 iterations are carried out. 2.2516375 9.421848E-06
2E-05
2.2516392 2.23021E-05
Graph 2 shows the boundaries of the final iteration and the value at
which the function crosses the x-axis. This graph allows for an accurate 2.2516409 3.518239E-05 0
determination of the solution. 2.2516426 4.80627E-05 2.251628 2.25163 2.251632 2.251634 2.251636 2.251638 2.25164 2.251642 2.251644 2.251646 2.251648
2.2516443 6.094304E-05 -2E-05
2.251646 7.38234E-05
-4E-05
-6E-05