Sie sind auf Seite 1von 4

FALSE POSITION METHOD SAMPLES

ck = f(bk) ak - f(ak) bk
f(bk) - f(ak)

f(x) = x sin(x) - 1

a b f(a) f(b) c f(c) Update Step Size (c-a)

1 0 2 -1.00000000 0.81859485 1.09975017 -0.02001921 ak+1=ck 1.099750


2 1.0998 2 -0.02001921 0.81859485 1.12124074 0.00983461 bk+1=ck 0.021491
3 1.0998 1.12124074 -0.02001921 0.00983461 1.11416119 0.00000563 bk+1=ck 0.014411
4 1.0998 1.11416119 -0.02001921 0.00000563 1.11415714 0.00000000 bk+1=ck 0.014407
xu f ( xl )  xl f ( xu )
xr  f(x l )*f(x r ) < 0, x u = x r
f(x) = 12x 2 + 23x + 5 f ( xl )  f ( xu ) f(x l )*f(x r ) > 0, x l = x r

No. of Step Size


xl xu f(x l ) f(x u ) xr f(x r ) f(x l )* f(x r ) Update
Iteration (x u -x r )
1 -2 -1 7.00 -6.00 -1.46154 -2.9822485 -20.8757 xu = xl -0.461538
2 -2.0000000 -1.4615385 7.0000000 -2.9822485 -1.62241 -0.7289131 -5.1023915 xu = xl -0.1608682
3 -2.0000000 -1.6224066 7.0000000 -0.7289131 -1.65802 -0.1461393 -1.0229748 xu = xl -0.0356108
4 -2.0000000 -1.6580174 7.0000000 -0.1461393 -1.66501 -0.0281133 -0.1967928 xu = xl -0.0069936
5 -2.0000000 -1.6650110 7.0000000 -0.0281133 -1.66635 -0.0053651 -0.0375554 xu = xl -0.0013400
6 -2.0000000 -1.6663510 7.0000000 -0.0053651 -1.66661 -0.0010223 -0.0071560 xu = xl -0.0002555
7 -2.0000000 -1.6666065 7.0000000 -0.0010223 -1.66666 -0.0001947 -0.0013631 xu = xl -0.0000487
8 -2.0000000 -1.6666552 7.0000000 -0.0001947 -1.66666 -0.0000371 -0.0002596 xu = xl -0.0000093
9 -2.0000000 -1.6666645 7.0000000 -0.0000371 -1.66667 -0.0000071 -0.0000495 xu = xl -0.0000018
10 -2.0000000 -1.6666663 7.0000000 -0.0000071 -1.66667 -0.0000013 -0.0000094 xu = xl -0.0000003
11 -2.0000000 -1.6666666 7.0000000 -0.0000013 -1.66667 -0.0000003 -0.0000018 xu = xl -0.0000001
12 -2.0000000 -1.6666667 7.0000000 -0.0000003 -1.66667 0.0000000 -0.0000003 xu = xl 0.0000000
xu f ( xl )  xl f ( xu )
xr  f(x l )*f(x r ) < 0, x u = x r
f(x) = 12x 2 + 23x + 5 f ( xl )  f ( xu ) f(x l )*f(x r ) > 0, x l = x r

No. of Step Size


xl xu f(x l ) f(x u ) xr f(x r ) f(x l )* f(x r ) Update
Iteration (x l -x r )
1 -1 0 -6.00 5.00 -0.45455 -2.9752066 17.8512 xu = xl -0.454545
2 -0.4545455 0.0000000 -2.9752066 5.0000000 -0.28497 -0.5798813 1.7252668 xu = xl -0.2849741
3 -0.2849741 0.0000000 -0.5798813 5.0000000 -0.25536 -0.0907510 0.0526248 xu = xl -0.2553586
4 -0.2553586 0.0000000 -0.0907510 5.0000000 -0.25081 -0.0137006 0.0012433 xu = xl -0.2508064
5 -0.2508064 0.0000000 -0.0137006 5.0000000 -0.25012 -0.0020571 0.0000282 xu = xl -0.2501210
6 -0.2501210 0.0000000 -0.0020571 5.0000000 -0.25002 -0.0003086 0.0000006 xu = xl -0.2500182
7 -0.2500182 0.0000000 -0.0003086 5.0000000 -0.25000 -0.0000463 0.0000000 xu = xl -0.2500027
8 -0.2500027 0.0000000 -0.0000463 5.0000000 -0.25000 -0.0000069 0.0000000 xu = xl -0.2500004
9 -0.2500004 0.0000000 -0.0000069 5.0000000 -0.25000 -0.0000010 0.0000000 xu = xl -0.2500001
10 -0.2500001 0.0000000 -0.0000010 5.0000000 -0.25000 -0.0000002 0.0000000 xu = xl -0.2500000
11 -0.2500000 0.0000000 -0.0000002 5.0000000 -0.25000 0.0000000 0.0000000 xu = xl -0.2500000
12 -0.2500000 0.0000000 0.0000000 5.0000000 -0.25000 0.0000000 0.0000000 xu = xl -0.2500000
when f(a) and f(c) have the same sign:
ak+1 = ck, and bk+1 = bk

when f(a) and f(c) don't have the same sign:


bk+1 = ck, and ak+1 = ak