Rozwiązywanie równania x2-4=0 metodą bisekcji | |||||
n | an | bn | pn | f(an) | f(pn) |
0 | 1,5 | 3 | 2,25 | -1,75 | 1,0625 |
1 | 1,5 | 2,25 | 1,875 | -1,75 | -0,484375 |
2 | 1,875 | 2,25 | 2,0625 | -0,484375 | 0,25390625 |
3 | 1,875 | 2,0625 | 1,96875 | -0,484375 | -0,1240234375 |
4 | 1,96875 | 2,0625 | 2,015625 | -0,1240234375 | 0,062744140625 |
5 | 1,96875 | 2,015625 | 1,9921875 | -0,1240234375 | -0,03118896484375 |
6 | 1,9921875 | 2,015625 | 2,00390625 | -0,03118896484375 | 0,015640258789063 |
7 | 1,9921875 | 2,00390625 | 1,998046875 | -0,03118896484375 | -0,007808685302734 |
8 | 1,998046875 | 2,00390625 | 2,0009765625 | -0,007808685302734 | 0,003907203674316 |
9 | 1,998046875 | 2,0009765625 | 1,99951171875 | -0,007808685302734 | -0,001952886581421 |
10 | 1,99951171875 | 2,0009765625 | 2,000244140625 | -0,001952886581421 | 0,000976622104645 |
11 | 1,99951171875 | 2,000244140625 | 1,9998779296875 | -0,001952886581421 | -0,000488266348839 |
12 | 1,9998779296875 | 2,000244140625 | 2,00006103515625 | -0,000488266348839 | 0,00024414435029 |
13 | 1,9998779296875 | 2,00006103515625 | 1,99996948242188 | -0,000488266348839 | -0,000122069381177 |
14 | 1,99996948242188 | 2,00006103515625 | 2,00001525878906 | -0,000122069381177 | 6,10353890806436E-05 |
15 | 1,99996948242188 | 2,00001525878906 | 1,99999237060547 | -0,000122069381177 | -3,05175199173391E-05 |
16 | 1,99999237060547 | 2,00001525878906 | 2,00000381469727 | -3,05175199173391E-05 | 1,52588036144152E-05 |
17 | 1,99999237060547 | 2,00000381469727 | 1,99999809265137 | -3,05175199173391E-05 | -7,62939089327119E-06 |
18 | 1,99999809265137 | 2,00000381469727 | 2,00000095367432 | -7,62939089327119E-06 | 3,8146981751197E-06 |
19 | 1,99999809265137 | 2,00000095367432 | 1,99999952316284 | -7,62939089327119E-06 | -1,90734840543882E-06 |
20 | 1,99999952316284 | 2,00000095367432 | 2,00000023841858 | -1,90734840543882E-06 | 9,53674373249669E-07 |