Sie sind auf Seite 1von 10

# METODE NEWTON RAPHSON

F(X) x^3+x-1
F'(X) 3x^2+1
X0 1.0000000000
epsilon 0.0000000100

## Xn - (F(x)/F'(x)) F(x) F'(x) Error absolut hampiran

X0 1.0000000000 1.0000000000 4.0000000000
X1 0.7500000000 0.1718750000 2.6875000000 0.3333333333
X2 0.6860465116 0.0089410366 2.4119794484 0.0932203390
X3 0.6823395826 0.0000282306 2.3967619179 0.0054326748
X4 0.6823278039 0.0000000003 2.3967136961 0.0000172625
X5 0.6823278038 0.0000000000 2.3967136956 0.0000000002
error <= epsilon ?

Tidak
Tidak
Tidak
Tidak
Ya
METODE BAGI DUA
Fungsi : x^2 - 6x + 8 = 0

## Iterasi a b T f(a) f(T) f(a).f(T) a baru b baru

1 3.000000 6.000000 4.500000 -1.000000 1.250000 -1.250000 3.000000 4.500000
2 3.000000 4.500000 3.750000 -1.000000 -0.437500 0.437500 3.750000 4.500000
3 3.750000 4.500000 4.125000 -0.437500 0.265625 -0.116211 3.750000 4.125000
4 3.750000 4.125000 3.937500 -0.437500 -0.121094 0.052979 3.937500 4.125000
5 3.937500 4.125000 4.031250 -0.121094 0.063477 -0.007687 3.937500 4.031250
6 3.937500 4.031250 3.984375 -0.121094 -0.031006 0.003755 3.984375 4.031250
7 3.984375 4.031250 4.007813 -0.031006 0.015686 -0.000486 3.984375 4.007813
8 3.984375 4.007813 3.996094 -0.031006 -0.007797 0.000242 3.996094 4.007813
9 3.996094 4.007813 4.001953 -0.007797 0.003910 -0.000030 3.996094 4.001953
10 3.996094 4.001953 3.999023 -0.007797 -0.001952 0.000015 3.999023 4.001953
11 3.999023 4.001953 4.000488 -0.001952 0.000977 -0.000002 3.999023 4.000488
12 3.999023 4.000488 3.999756 -0.001952 -0.000488 0.000001 3.999756 4.000488
13 3.999756 4.000488 4.000122 -0.000488 0.000244 0.000000 3.999756 4.000122
14 3.999756 4.000122 3.999939 -0.000488 -0.000122 0.000000 3.999939 4.000122
15 3.999939 4.000122 4.000031 -0.000122 0.000061 0.000000 3.999939 4.000031
16 3.999939 4.000031 3.999985 -0.000122 -0.000031 0.000000 3.999985 4.000031
17 3.999985 4.000031 4.000008 -0.000031 0.000015 0.000000 3.999985 4.000008
18 3.999985 4.000008 3.999996 -0.000031 -0.000008 0.000000 3.999996 4.000008
19 3.999996 4.000008 4.000002 -0.000008 0.000004 0.000000 3.999996 4.000002
20 3.999996 4.000002 3.999999 -0.000008 -0.000002 0.000000 3.999999 4.000002
21 3.999999 4.000002 4.000000 -0.000002 0.000001 0.000000 3.999999 4.000000
22 3.999999 4.000000 4.000000 -0.000002 0.000000 0.000000 4.000000 4.000000
23 4.000000 4.000000 4.000000 0.000000 0.000000 0.000000 4.000000 4.000000
b - a < epsilon
1.500000
0.750000
0.375000
0.187500
0.093750
0.046875
0.023438
0.011719
0.005859
0.002930
0.001465
0.000732
0.000366
0.000183
0.000092
0.000046
0.000023
0.000011
0.000006
0.000003
0.000001
0.000001
0.000000
METODE POSISI PALSU (REGULAFALSI)
FUNGSI : X^2 - 6X + 8 = 0

## Iterasi C lama a b f(a) f(b) c |c - c lama /c|

1 9 3 6 -1 8.0000000000 3.3333333333 1.7000000000
2 3.333333 3.333333 6 -0.88889 8.0000000000 3.6000000000 0.0740740741
3 3.6 3.6 6 -0.64 8.0000000000 3.7777777778 0.0470588235
4 3.777778 3.777778 6 -0.39506 8.0000000000 3.8823529412 0.0269360269
5 3.882353 3.882353 6 -0.22145 8.0000000000 3.9393939394 0.0144796380
6 3.939394 3.939394 6 -0.11754 8.0000000000 3.9692307692 0.0075170308
7 3.969231 3.969231 6 -0.06059 8.0000000000 3.9844961240 0.0038311883
8 3.984496 3.984496 6 -0.03077 8.0000000000 3.9922178988 0.0019342067
9 3.992218 3.992218 6 -0.0155 8.0000000000 3.9961013645 0.0009718136
10 3.996101 3.996101 6 -0.00778 8.0000000000 3.9980487805 0.0004870916
11 3.998049 3.998049 6 -0.0039 8.0000000000 3.9990239141 0.0002438429
12 3.999024 3.999024 6 -0.00195 8.0000000000 3.9995118379 0.0001219958
13 3.999512 3.999512 6 -0.00098 8.0000000000 3.9997558892 0.0000610165
14 3.999756 3.999756 6 -0.00049 8.0000000000 3.9998779371 0.0000305129
15 3.999878 3.999878 6 -0.00024 8.0000000000 3.9999389667 0.0000152576
16 3.999939 3.999939 6 -0.00012 8.0000000000 3.9999694829 0.0000076291
17 3.999969 3.999969 6 -6.1E-05 8.0000000000 3.9999847413 0.0000038146
18 3.999985 3.999985 6 -3.05E-05 8.0000000000 3.9999923706 0.0000019073
19 3.999992 3.999992 6 -1.53E-05 8.0000000000 3.9999961853 0.0000009537
20 3.999996 3.999996 6 -7.63E-06 8.0000000000 3.9999980927 0.0000004768
21 3.999998 3.999998 6 -3.81E-06 8.0000000000 3.9999990463 0.0000002384
22 3.999999 3.999999 6 -1.91E-06 8.0000000000 3.9999995232 0.0000001192
f(c) f(a).f(c)
-0.8888888889 0.8888888889
-0.6400000000 0.5688888889
-0.3950617284 0.2528395062
-0.2214532872 0.0874877184
-0.1175390266 0.0260294038
-0.0605917160 0.0071218913
-0.0307673818 0.0018642485
-0.0155036412 0.0004770064
-0.0077820716 0.0001206504
-0.0038986318 0.0000303394
-0.0019512190 0.0000076071
-0.0009760858 0.0000019046
-0.0004881621 0.0000004765
-0.0002441108 0.0000001192
-0.0001220629 0.0000000298
-0.0000610333 0.0000000074
-0.0000305171 0.0000000019
-0.0000152587 0.0000000005
-0.0000076294 0.0000000001
-0.0000038147 0.0000000000
-0.0000019073 0.0000000000
-0.0000009537 0.0000000000
METODE SECANT
FUNGSI : X - 2 SIN X = 0
X0 :2
X1 : 1.9

## n Xn-1 Xn Nn Dn Xn+1 (Xn+1) - Xn

1 2.000000 1.900000 -0.000740 -0.174005 1.895747 -0.004253
2 1.900000 1.895747 -0.000002 -0.006985 1.895495 -0.000252
3 1.895747 1.895495 0.000000 -0.000414 1.895494 -0.000001
4 1.895495 1.895494 0.000000 -0.000001 1.895494 0.000000
5 1.895494 1.895494 0.000000 0.000000 1.895494 0.000000
Gauss-Jordan elimination for 3 by 3 matrices

Starting Matrix
1 2 3 1
A= 4 5 6 b= 7
7 8 -9 2

## Step 1 (Normalize Pivot)

1 2 3 1
4 5 6 b= 7
7 8 -9 2

Step 2 (eliminate)
1 2 3 1
0 -3 -6 b= 3
0 -6 -30 -5

## Step 3 (Normalize pivot)

1 2 3 1
0 1 2 b= -1
0 -6 -30 -5

Step 4 (Eliminate)
1 0 -1 3
0 1 2 b= -1
0 0 -18 -11

1 0 -1 3
0 1 2 b= -1
0 0 1 0.611111

## Step 5 (Normalize pivot)

1 0 0 3.611111
0 1 0 b= -2.22222
0 0 1 0.611111

Verification
x1= 3.611111 -1.72222 0.777778 -0.05556
x2= -2.22222 A^(-1)= 1.444444 -0.55556 0.111111 x=
x3= 0.611111 -0.05556 0.111111 -0.05556
3.611111
-2.22222
0.611111