Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
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: x^3 -3x+1= 0
enter an initial value (guess) for both the left bound
and the right bound. Excel will determine if a solution Enter Left Boundary: 1
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: 2
ذ
Graph 1: Initial Boundaries
n a b f[a] f[b] x f[x] 3.5
1 1 2 -1.0000 3.0000 1.0000 -1
2 1.5 2 -0.1250 3.0000 1.0526 -0.991543957 3
3 1.5 1.75 -0.1250 1.1094 1.1053 -0.965592652
4 1.5 1.625 -0.1250 0.4160 1.1579 -0.921271322 2.5
5 1.5 1.5625 -0.1250 0.1272 1.2105 -0.857705205
6 1.53125 1.5625 -0.0034 0.1272 1.2632 -0.774019536 2
7 1.53125 1.546875 -0.0034 0.0608 1.3158 -0.669339554
8 1.53125 1.5390625 -0.0034 0.0284 1.3684 -0.542790494 1.5
9 1.53125 1.5351563 -0.0034 0.0124 1.4211 -0.393497594
10 1.53125 1.5332031 -0.0034 0.0045 1.4737 -0.220586091 1
11 1.53125 1.5322266 -0.0034 0.0006 1.5263 -0.023181222
12 1.5317383 1.5322266 -0.0014 0.0006 1.5789 0.199591777 0.5
13 1.5319824 1.5322266 -0.0004 0.0006 1.6316 0.448607669
14 1.5319824 1.5321045 -0.0004 0.0001 1.6842 0.724741216 0
0.8000 1.0000 1.2000 1.4000 1.6000 1.8000 2.0000 2.2000
15 1.5320435 1.5321045 -0.0002 0.0001 1.7368 1.028867182
-0.5
16 1.532074 1.5321045 -0.0001 0.0001 1.7895 1.361860329
17 1.532074 1.5320892 -0.0001 0.0000 1.8421 1.724595422
-1
18 1.5320816 1.5320892 0.0000 0.0000 1.8947 2.117947223
19 1.5320854 1.5320892 0.0000 0.0000 1.9474 2.542790494
-1.5
20 1.5320873 1.5320892 0.0000 0.0000 2.0000 3
-3.436348