%HENI RUSPITASARI_170210102028 %Nomor 2A biseksi Metode Bagi dua Tekan Enter untuk lanjut Fungsi f:'f1' Masukkan batas bawah :0 Masukkan batas atas :1 Masukkan galat Toleransi :10^-6 y = -21 y = -14.0570 Ingat f(a)*f(b)>0, berarti tidak ada akar dalam selang iterasi Galat a b c f(c) y = -18.3935 1 0.0000000000 1.0000000000 1.0000000000 0.5000000000 -18.3934693403 1.0000000000 0.7500000000 -16.4057628845 1.0000000000 0.8750000000 -15.2658801133 1.0000000000 0.9375000000 -14.6686152538 1.0000000000 0.9687500000 -14.3644071794 y = -16.4058 2 0.5000000000 0.3333333333 y = -15.2659 3 0.7500000000 0.1428571429 y = -14.6686 4 0.8750000000 0.0666666667 y = -14.3644 5 0.9375000000 0.0322580645 y = -14.2111 6 0.9687500000 0.0158730159 1.0000000000 0.9843750000 -14.2110675821 1.0000000000 0.9921875000 -14.1341086504 1.0000000000 0.9960937500 -14.0955593651 1.0000000000 0.9980468750 -14.0762675752 1.0000000000 0.9990234375 -14.0666174317 1.0000000000 0.9995117188 -14.0617913027 1.0000000000 0.9997558594 -14.0593779745 1.0000000000 0.9998779297 -14.0581712445 1.0000000000 0.9999389648 -14.0575678630 y = -14.1341 7 0.9843750000 0.0078740157 y = -14.0956 8 0.9921875000 0.0039215686 y = -14.0763 9 0.9960937500 0.0019569472 y = -14.0666 10 0.9980468750 0.0009775171 y = -14.0618 11 0.9990234375 0.0004885198 y = -14.0594 12 0.9995117188 0.0002442002 y = -14.0582 13 0.9997558594 0.0001220852 y = -14.0576 14 0.9998779297 0.0000610389 y = -14.0573 15 0.9999389648 0.0000305185 1.0000000000 0.9999694824 -14.0572661682 1.0000000000 0.9999847412 -14.0571153198 1.0000000000 0.9999923706 -14.0570398953 1.0000000000 0.9999961853 -14.0570021830 1.0000000000 0.9999980927 -14.0569833268 20 0.9999980927 1.0000000000 0.0000009537 Akarnya adalah = 0.9999990463 'lat01(c)' 0.9999990463 -14.0569738987 y = -14.0571 16 0.9999694824 0.0000152590 y = -14.0570 17 0.9999847412 0.0000076295 y = -14.0570 18 0.9999923706 0.0000038147 y = -14.0570 19 0.9999961853 0.0000019074 y = -14.0570 ans = lat01(c) %Nomor 2B biseksi Metode Bagi dua Tekan Enter untuk lanjut Fungsi f:'f1' Masukkan batas bawah :0 Masukkan batas atas :5 Masukkan galat Toleransi :10^-6 y = -21 y = 5.7379 iterasi Galat a b c f(c) y = -0.7394 1 0.0000000000 1.0000000000 5.0000000000 2.5000000000 -0.7393751720 5.0000000000 3.7500000000 3.9215490330 3.7500000000 3.1250000000 2.2267904354 3.1250000000 2.8125000000 0.9384406484 2.8125000000 2.6562500000 0.1519391276 2.6562500000 2.5781250000 -0.2802392322 2.6562500000 2.6171875000 -0.0608226005 y = 3.9215 2 2.5000000000 0.3333333333 y = 2.2268 3 2.5000000000 0.2000000000 y = 0.9384 4 2.5000000000 0.1111111111 y = 0.1519 5 2.5000000000 0.0588235294 y = -0.2802 6 2.5000000000 0.0303030303 y = -0.0608 7 2.5781250000 0.0149253731 y = 0.0464 8 2.6171875000 0.0074074074 2.6562500000 2.6367187500 0.0463843853 2.6367187500 2.6269531250 -0.0070118400 2.6367187500 2.6318359375 0.0197379986 2.6318359375 2.6293945313 0.0063760222 2.6293945313 2.6281738281 -0.0003146717 2.6293945313 2.6287841797 0.0030314843 2.6287841797 2.6284790039 0.0013586086 2.6284790039 2.6283264160 0.0005220190 2.6283264160 2.6282501221 0.0001036863 y = -0.0070 9 2.6171875000 0.0037174721 y = 0.0197 10 2.6269531250 0.0018552876 y = 0.0064 11 2.6269531250 0.0009285051 y = -3.1467e-04 12 2.6269531250 0.0004644682 y = 0.0030 13 2.6281738281 0.0002321802 y = 0.0014 14 2.6281738281 0.0001161036 y = 5.2202e-04 15 2.6281738281 0.0000580552 y = 1.0369e-04 16 2.6281738281 0.0000290284 y = -1.0549e-04 17 2.6281738281 0.0000145144 2.6282501221 2.6282119751 -0.0001054896 2.6282501221 2.6282310486 -0.0000009009 2.6282501221 2.6282405853 0.0000513929 2.6282405853 2.6282358170 0.0000252461 21 2.6282310486 2.6282358170 0.0000009071 Akarnya adalah = 2.6282334328 'lat01(c)' 2.6282334328 0.0000121726 y = -9.0086e-07 18 2.6282119751 0.0000072572 y = 5.1393e-05 19 2.6282310486 0.0000036286 y = 2.5246e-05 20 2.6282310486 0.0000018143 y = 1.2173e-05 ans = lat01(c) %Nomor 2C biseksi Metode Bagi dua Tekan Enter untuk lanjut Fungsi f:'f1' Masukkan batas bawah :-5 Masukkan batas atas :10 Masukkan galat Toleransi :10^-6 y = -1.4845e+05 y = 19.3632 iterasi Galat a b c f(c) y = -0.7394 1 -5.0000000000 0.7393751720 3.0000000000 10.0000000000 2.5000000000 - y = 7.7704 2 2.5000000000 0.6000000000 10.0000000000 6.2500000000 7.7704182348 y = 4.9331 3 2.5000000000 0.4285714286 6.2500000000 4.3750000000 4.9330718538 4.3750000000 3.4375000000 3.1955383037 3.4375000000 2.9687500000 1.6272443345 2.9687500000 2.7343750000 0.5578844250 2.7343750000 2.6171875000 -0.0608226005 2.7343750000 2.6757812500 0.2558537211 y = 3.1955 4 2.5000000000 0.2727272727 y = 1.6272 5 2.5000000000 0.1578947368 y = 0.5579 6 2.5000000000 0.0857142857 y = -0.0608 7 2.5000000000 0.0447761194 y = 0.2559 8 2.6171875000 0.0218978102 y = 0.0994 9 2.6171875000 0.0110701107 2.6757812500 2.6464843750 0.0993675421 2.6464843750 2.6318359375 0.0197379986 2.6318359375 2.6245117188 -0.0204256108 2.6318359375 2.6281738281 -0.0003146717 2.6318359375 2.6300048828 0.0097189422 2.6300048828 2.6290893555 0.0047039555 2.6290893555 2.6286315918 0.0021950970 2.6286315918 2.6284027100 0.0009403264 2.6284027100 2.6282882690 0.0003128558 y = 0.0197 10 2.6171875000 0.0055658627 y = -0.0204 11 2.6171875000 0.0027906977 y = -3.1467e-04 12 2.6245117188 0.0013934046 y = 0.0097 13 2.6281738281 0.0006962172 y = 0.0047 14 2.6281738281 0.0003482298 y = 0.0022 15 2.6281738281 0.0001741452 y = 9.4033e-04 16 2.6281738281 0.0000870802 y = 3.1286e-04 17 2.6281738281 0.0000435420 y = -9.0086e-07 18 2.6281738281 0.0000217715 2.6282882690 2.6282310486 -0.0000009009 2.6282882690 2.6282596588 0.0001559792 2.6282596588 2.6282453537 0.0000775396 2.6282453537 2.6282382011 0.0000383195 2.6282382011 2.6282346249 0.0000187093 23 2.6282310486 2.6282346249 0.0000006804 Akarnya adalah = 2.6282328367 'lat01(c)' 2.6282328367 0.0000089042 y = 1.5598e-04 19 2.6282310486 0.0000108856 y = 7.7540e-05 20 2.6282310486 0.0000054428 y = 3.8319e-05 21 2.6282310486 0.0000027214 y = 1.8709e-05 22 2.6282310486 0.0000013607 y = 8.9042e-06 ans = lat01(c) %Nomor 2D biseksi Metode Bagi dua Tekan Enter untuk lanjut Fungsi f:'f1' Masukkan batas bawah :-10 Masukkan batas atas :-5 Masukkan galat Toleransi :10^-6 y = -1.7621e+08 y = -1.4845e+05 Ingat f(a)*f(b)>0, berarti tidak ada akar dalam selang iterasi Galat a b c f(c) y = -6.1022e+06 1 -10.0000000000 -5.0000000000 6102194.1487892130 0.3333333333 -7.5000000000 - y = -1.0118e+06 2 -7.5000000000 -5.0000000000 1011789.7981803555 0.2000000000 -6.2500000000 - -5.6250000000 - -5.3125000000 - -5.1562500000 - -5.0781250000 - -5.0390625000 - y = -3.9483e+05 3 -6.2500000000 -5.0000000000 394831.5769870404 0.1111111111 y = -2.4336e+05 4 -5.6250000000 -5.0000000000 243361.3779419041 0.0588235294 y = -1.9033e+05 5 -5.3125000000 -5.0000000000 190334.6224120018 0.0303030303 y = -1.6815e+05 6 -5.1562500000 -5.0000000000 168154.5120946021 0.0153846154 y = -1.5801e+05 7 -5.0781250000 -5.0000000000 158011.7533374712 0.0077519380 y = -1.5316e+05 8 -5.0390625000 -5.0000000000 153161.8810183063 0.0038910506 -5.0195312500 - -5.0097656250 - -5.0048828125 - -5.0024414063 - -5.0012207031 - -5.0006103516 - -5.0003051758 - -5.0001525879 - -5.0000762939 - y = -1.5079e+05 9 -5.0195312500 -5.0000000000 150790.5038687635 0.0019493177 y = -1.4962e+05 10 -5.0097656250 -5.0000000000 149617.9836348702 0.0009756098 y = -1.4903e+05 11 -5.0048828125 -5.0000000000 149034.9882822140 0.0004880429 y = -1.4874e+05 12 -5.0024414063 -5.0000000000 148744.3034038335 0.0002440810 y = -1.4860e+05 13 -5.0012207031 -5.0000000000 148599.1637413569 0.0001220554 y = -1.4853e+05 14 -5.0006103516 -5.0000000000 148526.6445515355 0.0000610314 y = -1.4849e+05 15 -5.0003051758 -5.0000000000 148490.3976103893 0.0000305166 y = -1.4847e+05 16 -5.0001525879 -5.0000000000 148472.2773024339 0.0000152586 y = -1.4846e+05 17 -5.0000762939 -5.0000000000 148463.2179390077 0.0000076293 -5.0000381470 - -5.0000190735 - -5.0000095367 - -5.0000047684 - y = -1.4846e+05 18 -5.0000381470 -5.0000000000 148458.6884549196 0.0000038147 y = -1.4846e+05 19 -5.0000190735 -5.0000000000 148456.4237622802 0.0000019073 y = -1.4846e+05 20 -5.0000095367 -5.0000000000 148455.2914283115 0.0000009537 Akarnya adalah = -5.0000047684 'lat01(c)' ans = lat01(c) diary off