Sie sind auf Seite 1von 12

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.0038054 0.3911 0.0032302
0.2 1.064 0.32 0.408704 0.392 -0.001947 0.3912 0.002655
0.3 0.521 0.33 0.352211 0.393 -0.007701 0.3913 0.0020797
0.4 -0.048 0.34 0.295512 0.394 -0.013455 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.024967 0.3916 0.000354
0.7 -1.731 0.37 0.124359 0.397 -0.030724 0.3917 -0.000221
0.8 -2.224 0.38 0.067016 0.398 -0.036482 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 METODE REGULA F
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=�

METODE ITERASI TITIK TETAP


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
�(�)= 〖 3� 〗 ^2− 〖 4� 〗 ^2−4�+2=0 METODE NEWTON RAPHSON
�^′ (�)= 〖 9� 〗 ^2−8x−4=0
i xi f(x) f'(x) galat
0 0.5000000 -0.2500000 -5.7500000
1 0.4565217 -0.0344991 -5.7764650 0.0434783
2 0.4505494 -0.0051923 -5.7774423 0.0059723
3 0.4496507 -0.0007884 -5.7775338 0.0008987
4 0.4495142 -0.0001199 -5.7775465 0.0001365
5 0.4494935 -0.0000182 -5.7775483 0.0000207
6 0.4494903 -0.0000028 -5.7775486 0.0000032
7 0.4494898 -0.0000004 -5.7775487 0.0000005
8 0.4494898 -0.0000001 -5.7775487 0.0000001
9 0.4494897 0.0000000 -5.7775487 0.0000000
10 0.4494897 0.0000000 -5.7775487 0.0000000
E NEWTON RAPHSON
�(�)= 〖 3� 〗 ^3− 〖 4� 〗 ^2−4�+2=0 METODE SECANT
�^′ (�)= 〖 9� 〗 ^2−8�−4=0
i xi f(x) galat
0 0.5000000 -0.6250000
1 1.0000000 -3.0000000 0.5000000
2 0.6315789 -1.3660884 -0.3684211
3 0.3080312 0.4760235 -0.3235478
4 -0.0836086 2.3047194 -0.3916397
5 -0.4935866 2.6390814 -0.4099780
6 -3.2359091 -128.5914558 -2.7423226
7 -2.6871737 -74.3463754 0.5487354
8 -0.7520772 1.4696584 1.9350965
9 0.0375109 1.8444863 0.7895881
10 3.8854752 102.0465223 3.8479642
11 3.9187963 105.4394030 0.0333211
12 1.0355093 -3.1000890 -2.8832870
13 -0.0823520 2.3006052 -1.1178613
14 -0.4761902 2.6737939 -0.3938382
15 -2.8217413 -85.9639354 -2.3455511
16 -2.2747966 -44.9137767 0.5469447
17 -0.5984228 2.3183484 1.6763737
18 0.0822834 1.6454556 0.6807062
19 -1.6645620 -16.2611584 -1.7468454
20 -1.5863261 -13.6960568 0.0782359
〖 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
METODE LELARAN JACOBI
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
〖 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