Sie sind auf Seite 1von 9

3.

Tentukan akar hampiran dari fungsi dan


dengan :

0 2 0.30 0.521 0.390 0.009557 0.3910 0.0038054


0.1 1.563 0.31 0.464973 0.391 0.003805 0.3911 0.0032302
0.2 1.064 0.32 0.408704 0.392 -0.00195 0.3912 0.002655
0.3 0.521 0.33 0.352211 0.393 -0.0077 0.3913 0.0020797
0.4 -0.048 0.34 0.295512 0.394 -0.01346 0.3914 0.0015045
0.5 -0.625 0.35 0.238625 0.395 -0.01921 0.3915 0.0009293
0.6 -1.192 0.36 0.181568 0.396 -0.02497 0.3916 0.000354
0.7 -1.731 0.37 0.124359 0.397 -0.03072 0.3917 -0.000221
0.8 -2.224 0.38 0.067016 0.398 -0.03648 0.3918 -0.000797
0.9 -2.653 0.39 0.009557 0.399 -0.04224 0.3919 -0.001372
1 -3 0.40 -0.048 0.400 -0.048 0.3920 -0.001947

METODE GRAFIK
0.39160 0.0003540 0.391660 0.0000088 0.3916610 0.0000031
0.39161 0.0002965 0.391661 0.0000031 0.3916611 0.0000025
0.39162 0.0002389 0.391662 -0.0000027 0.3916612 0.0000019
0.39163 0.0001814 0.391663 -0.0000084 0.3916613 0.0000014
0.39164 0.0001239 0.391664 -0.0000142 0.3916614 0.0000008
0.39165 6.636E-05 0.391665 -0.0000199 0.3916615 0.0000002
0.39166 8.837E-06 0.391666 -0.0000257 0.3916616 -0.0000004
0.39167 -4.869E-05 0.391667 -0.0000314 0.3916617 -0.0000009
0.39168 -0.000106 0.391668 -0.0000372 0.3916618 -0.0000015
0.39169 -0.000164 0.391669 -0.0000429 0.3916619 -0.0000021
0.39170 -0.000221 0.391670 -0.0000487 0.3916620 -0.0000027
dan
a c b f(a) f(c) f(b) galat
0.0000000 0.5000000 1.0000000 2.0000000 -0.6250000 -3.0000000 1.0000000
0.0000000 0.2500000 0.5000000 2.0000000 0.7968750 -0.6250000 0.5000000
0.2500000 0.3750000 0.5000000 0.7968750 0.0957031 -0.6250000 0.2500000
0.3750000 0.4375000 0.5000000 0.0957031 -0.2644043 -0.6250000 0.1250000
0.3750000 0.4062500 0.4375000 0.0957031 -0.0840149 -0.2644043 0.0625000
0.3750000 0.3906250 0.4062500 0.0957031 0.0059624 -0.0840149 0.0312500
0.3906250 0.3984375 0.4062500 0.0059624 -0.0390010 -0.0840149 0.0156250
0.3906250 0.3945313 0.3984375 0.0059624 -0.0165125 -0.0390010 0.0078125
0.3906250 0.3925781 0.3945313 0.0059624 -0.0052733 -0.0165125 0.0039063
0.3906250 0.3916016 0.3925781 0.0059624 0.0003450 -0.0052733 0.0019531
0.3916016 0.3920898 0.3925781 0.0003450 -0.0024640 -0.0052733 0.0009766
0.3916016 0.3918457 0.3920898 0.0003450 -0.0010595 -0.0024640 0.0004883
0.3916016 0.3917236 0.3918457 0.0003450 -0.0003572 -0.0010595 0.0002441
0.3916016 0.3916626 0.3917236 0.0003450 -0.0000061 -0.0003572 0.0001221
0.3916016 0.3916321 0.3916626 0.0003450 0.0001695 -0.0000061 0.0000610
0.3916321 0.3916473 0.3916626 0.0001695 0.0000817 -0.0000061 0.0000305
0.3916473 0.3916550 0.3916626 0.0000817 0.0000378 -0.0000061 0.0000153
0.3916550 0.3916588 0.3916626 0.0000378 0.0000158 -0.0000061 0.0000076
0.3916588 0.3916607 0.3916626 0.0000158 0.0000049 -0.0000061 0.0000038
0.3916607 0.3916616 0.3916626 0.0000049 -0.0000006 -0.0000061 0.0000019
0.3916607 0.3916612 0.3916616 0.0000049 0.0000021 -0.0000006 0.0000010
0.3916612 0.3916614 0.3916616 0.0000021 0.0000008 -0.0000006 0.0000005
0.3916614 0.3916615 0.3916616 0.0000008 0.0000001 -0.0000006 0.0000002

METODE BISEKSI
dan
a c b f(a) f(c) f(b) galat
0.0000000 0.4000000 1.0000000 2.0000000 -0.0480000 -3.0000000 1.0000000
0.0000000 0.3906250 0.4000000 2.0000000 0.0059624 -0.0480000 0.4000000
0.3906250 0.3916609 0.4000000 0.0059624 0.0000039 -0.0480000 0.0093750
0.3916609 0.3916615 0.4000000 0.0000039 0.0000000 -0.0480000 0.0083391
0.3916615 0.3916615 0.4000000 0.0000000 0.0000000 -0.0480000 0.0083385
0.3916615 0.3916615 0.4000000 0.0000000 0.0000000 -0.0480000 0.0083385

METODE REGULA FALSI


dan

Persamaan barunya 〖 3� 〗 ^3− 〖 4� 〗 ^2−4�+2=0


〖 3� 〗 ^3− 〖 4� 〗 ^2+2=4�
(( 〖 3� 〗 ^3− 〖 4� 〗 ^2+2))/4=�

i xi galat
0 1.5000000
1 0.7812500 0.7187500
2 0.2472763 0.5339737
3 0.4501943 -0.2029180
4 0.3657574 0.0844369
5 0.4029194 -0.0371620
6 0.3867146 0.0162047
7 0.3938261 -0.0071115
8 0.3907125 0.0031136
9 0.3920773 -0.0013648
10 0.3914794 0.0005979
11 0.3917414 -0.0002620
12 0.3916266 0.0001148
13 0.3916769 -0.0000503
14 0.3916548 0.0000220
15 0.3916645 -0.0000097
16 0.3916602 0.0000042

METODE ITERASI TITIK TETAP


�(�)= 〖 3� 〗 ^2− 〖 4� 〗 ^2−4�+2=0
�^′ (�)= 〖 9� 〗 ^2−8x−4=0
i xi f(x) f'(x) galat
0 1.0000000 -3.0000000 -3.0000000
1 0.0000000 2.0000000 -4.0000000 1.0000000
2 0.5000000 -0.2500000 -5.7500000 -0.5000000
3 0.4565217 -0.0344991 -5.7764650 0.0434783
4 0.4505494 -0.0051923 -5.7774423 0.0059723
5 0.4496507 -0.0007884 -5.7775338 0.0008987
6 0.4495142 -0.0001199 -5.7775465 0.0001365
7 0.4494935 -0.0000182 -5.7775483 0.0000207
8 0.4494903 -0.0000028 -5.7775486 0.0000032
9 0.4494898 -0.0000004 -5.7775487 0.0000005
10 0.4494898 -0.0000001 -5.7775487 0.0000001
11 0.4494897 0.0000000 -5.7775487 0.0000000

METODE NEWTON RAPHSON


�(�)= 〖 3� 〗 ^3− 〖 4� 〗 ^2−4�+2=0
�^′ (�)= 〖 9� 〗 ^2−8�−4=0
i xi f(x) galat
0 0.2500000 0.7968750
1 0.5000000 -0.6250000 0.2500000
2 0.1098901 1.5161173 -0.3901099
3 -0.2762354 2.7364823 -0.3861255
4 -0.8658274 0.5174599 -0.5895921
5 0.1374886 1.3822302 1.0033160
6 1.6036786 -2.3289044 1.4661901
7 0.9201004 -2.7299118 -0.6835782
8 -4.6535511 -368.3334008 -5.5736515
9 -5.6152692 -632.8332637 -0.9617181
10 -2.3009737 -46.5214015 3.3142955
11 -0.2629755 2.7207185 2.0379982
12 0.1126032 1.5031526 0.3755787
13 -0.4636728 2.6956629 -0.5762759
14 -1.3026686 -6.2087796 -0.8389958
15 -0.5850046 2.3704777 0.7176639
16 0.1982930 1.0729384 0.7832976
17 -0.6477107 2.0975258 -0.8460036
18 -1.7319309 -18.6558333 -1.0842202
19 -0.9746389 -0.6786181 0.7572920
20 -0.0285869 2.1110085 0.9460520

METODE SECANT
〖 2� 〗 _1+ 〖 4� 〗 _2− 〖 2� 〗 _3=6 �_1=((2−�_2+ 〖 2� 〗 _3))/4 �_3=((�_2−�_1))/5
�_1−�_2+ 〖 5� 〗 _3=0
〖 4� 〗 _1+�_2− 〖 2� 〗 _3=2 �_2=((6+ 〖 2� 〗 _3− 〖 2� 〗 _1))/4

n x1 galat x2 galat x3 galat


0 0.0000000 0.0000000 0.0000000
1 0.5000000 0.5000000 1.5000000 1.5000000 0.0000000 0.0000000
2 0.1250000 -0.3750000 1.2500000 -0.2500000 0.2000000 -0.2000000
3 0.2875000 0.1625000 1.5375000 0.2875000 0.2250000 -0.0250000
4 0.2281250 -0.0593750 1.4687500 -0.0687500 0.2500000 -0.0250000
5 0.2578125 0.0296875 1.5109375 0.0421875 0.2481250 0.0018750
6 0.2463281 -0.0114844 1.4951563 -0.0157813 0.2506250 -0.0025000
7 0.2515234 0.0051953 1.5021484 0.0069922 0.2497656 0.0008594
8 0.2493457 -0.0021777 1.4991211 -0.0030273 0.2501250 -0.0003594
9 0.2502822 0.0009365 1.5003896 0.0012686 0.2499551 0.0001699
10 0.2498801 -0.0004021 1.4998364 -0.0005532 0.2500215 -0.0000664
11 0.2500516 0.0001715 1.5000707 0.0002343 0.2499913 0.0000302
12 0.2499780 -0.0000737 1.4999698 -0.0001009 0.2500038 -0.0000125
13 0.2500095 0.0000315 1.5000129 0.0000431 0.2499984 0.0000054
14 0.2499960 -0.0000135 1.4999945 -0.0000185 0.2500007 -0.0000023
15 0.2500017 0.0000058 1.5000024 0.0000079 0.2499997 0.0000010

METODE LELARAN JACOBI


〖 2� 〗 _1+ 〖 4� 〗 _2− 〖 2� 〗 _3=6 �_1=((2−�_2+ 〖 2� 〗 _3 ))/4
�_1−�_2+ 〖 5� 〗 _3=0
〖 4� 〗 _1+�_2− 〖 2� 〗 _3=2 �_2=((6+ 〖 2� 〗 _3−
〖 2� 〗 _1 ))/4
METODE GAUSS-SEIDEL �_3=((�_2−�_1 ))/5

n X1^n Galat X2^n Galat X3^n Galat


0 0.0000000 0.0000000 0.0000000
1 2.0000000 2.0000000 0.5000000 0.5000000 -0.3000000 -0.3000000
2 0.9000000 -1.1000000 0.9000000 0.4000000 0.0000000 0.3000000
3 1.1000000 0.2000000 0.9500000 0.0500000 -0.0300000 -0.0300000
4 0.9900000 -0.1100000 0.9900000 0.0400000 0.0000000 0.0300000
5 1.0100000 0.0200000 0.9950000 0.0050000 -0.0030000 -0.0030000
6 0.9990000 -0.0110000 0.9990000 0.0040000 0.0000000 0.0030000
7 1.0010000 0.0020000 0.9995000 0.0005000 -0.0003000 -0.0003000
8 0.9999000 -0.0011000 0.9999000 0.0004000 0.0000000 0.0003000
9 1.0001000 0.0002000 0.9999500 0.0000500 -0.0000300 -0.0000300
10 0.9999900 -0.0001100 0.9999900 0.0000400 0.0000000 0.0000300
11 1.0000100 0.0000200 0.9999950 0.0000050 -0.0000030 -0.0000030
12 0.9999990 -0.0000110 0.9999990 0.0000040 0.0000000 0.0000030
13 1.0000010 0.0000020 0.9999995 0.0000005 -0.0000003 -0.0000003