Вы находитесь на странице: 1из 14

1 .

Gunakan metode regular falsi untuk menentukan akar persamaan hingga ketelitian 10^-2 untuk persamaan x^4 - 3x^2 - 3 =

n x0 x1 x2 f(x0) f(x1) f(x2)


1 1 2 1.83333333333333 -5 1 -1.786265432099
2 1.833333333 2 1.94018277485461 -1.786265 1 -0.122903847508
3 1.940182775 2 1.94672987782693 -0.122904 1 -0.00701188617
4 1.946729878 2 1.9471008009889 -0.007012 1 -0.000395552538
5 1.947100801 2 1.94712171712791 -0.000396 1 -2.22995539E-05
6 1.947121717 2 1.94712289626374 -2.23E-05 1 -1.25710785E-06
7 1.947122896 2 1.94712296273588 -1.26E-06 1 -7.0867646E-08
8 1.947122963 2 1.94712296648315 -7.09E-08 1 -3.99506028E-09
9 1.947122966 2 1.94712296669439 -4E-09 1 -2.25213626E-10
10 1.947122967 2 1.9471229667063 -2.25E-10 1 -1.26956223E-11
11 1.947122967 2 1.94712296670697 -1.27E-11 1 -7.17648163E-13
12 1.947122967 2 1.94712296670701 -7.18E-13 1 -3.90798505E-14
13 1.947122967 2 1.94712296670701 -3.91E-14 1 0

2. carilah akar dari f(x) = (4-x)*e^-0,5x-2 dengan 5 angka signifikan menggunakan metode regular falsi

n x0 x1 x2 f(x0) f(x1) f(x2)


1 1 2 0.833546307641295 -0.180408 -1.2642411 0.087232652352
2 1 0.833546307641 0.887798887803449 -0.180408 0.08723265 -0.003429846655
3 0.887798888 0.833546307641 0.885746462240214 -0.00343 0.08723265 -6.18448552E-05
4 0.885746462 0.833546307641 0.885709480401676 -6.18E-05 0.08723265 -1.1140636E-06
5 0.88570948 0.833546307641 0.885708814225096 -1.11E-06 0.08723265 -2.00682169E-08
6 0.885708814 0.833546307641 0.885708802224908 -2.01E-08 0.08723265 -3.61499053E-10
7 0.885708802 0.833546307641 0.885708802008742 -3.61E-10 0.08723265 -6.51168008E-12
8 0.885708802 0.833546307641 0.885708802004849 -6.51E-12 0.08723265 -1.17239551E-13
9 0.885708802 0.833546307641 0.885708802004779 -1.17E-13 0.08723265 0
10 0.885708802 0.833546307641 0.885708802004779 0 0.08723265 0

3. f(x) = 230x^4 + 18x^3 + 9x^2 - 221x - 9


dengan interval [-1,0] dan [0,1]
ketelitian 10^-6

metode Rugulasi Falsi


f(x) = 230x^4 + 18x^3 + 9x^2 - 221x - 9
dengan interval [0,1]
ketelitian 10^-6
n x0 x1 x2 f(x0) f(x1) f(x2)
1 0 1 0.25 -9 27 -62.5078125
2 0.25 1 0.77376276512176 -62.50781 27 -83.83052027901
3 0.773762765 1 0.944885169479175 -83.83052 27 -11.26513024992
4 0.944885169 1 0.961110796844463 -11.26513 27 -0.85586782324
5 0.961110797 1 0.962305662424077 -0.855868 27 -0.061802369261
6 0.962305662 1 0.962391746837012 -0.061802 27 -0.004446180831
7 0.962391747 1 0.962397938894912 -0.004446 27 -0.00031978104
8 0.962397939 1 0.962398384238757 -0.00032 27 -2.29990515E-05
9 0.962398384 1 0.962398416268414 -2.3E-05 27 -1.65411822E-06
10 0.962398416 1 0.962398418572024 -1.65E-06 27 -1.18966142E-07
11 0.962398419 1 0.962398418737702 -1.19E-07 27 -8.55615667E-09
12 0.962398419 1 0.962398418749618 -8.56E-09 27 -6.15358431E-10
13 0.962398419 1 0.962398418750475 -6.15E-10 27 -4.42810233E-11
14 0.962398419 1 0.962398418750537 -4.43E-11 27 -3.21165317E-12
15 0.962398419 1 0.962398418750541 -3.21E-12 27 -2.55795385E-13
16 0.962398419 1 0.962398418750541 -2.56E-13 27 0

metode secant
f(x) f(x) = 230x^4 + 18x^3 + 9x^2 - 221x - 9
X0 -1
X1 0
galat 1E-06

n Xn-1 Xn f(Xn-1) f(Xn) Xn+1 error


1 -1 0 433 -9 -0.020362 1
2 0 -0.02036199095 -9 -4.496381 -0.0406913 0.499597880871
3 -0.020361991 -0.040691256435 -4.49638092783687 0.007087 -0.0406593 0.000786877467
4 -0.040691256 -0.040659262578 0.007087483162254 -5.71E-06 -0.0406593 6.330173279E-07
5 -0.040659263 -0.040659288316 -5.70624377260742E-06 -7.48E-12 -0.0406593 8.295758402E-13
6 -0.040659288 -0.040659288316 -7.47846229387505E-12 0 -0.0406593 0
7 -0.040659288 -0.040659288316 0 0 #DIV/0! #DIV/0!
8 -0.040659288 #DIV/0! 0 #DIV/0! #DIV/0! #DIV/0!
metode NEWTON RHAPSON
f(x) 230x^4 + 18x^3 + 9x^2 - 221x - 9 f(x)
f'(x) 920x^3+54x^2+18x-221 f'(x)
X0 -1 X0

iterasi Xn f(x) f'(x) error iterasi


1 -1 433 -1105 1
2 -0.608144796 156.1398567031 -418.898263303558 0.644345 2
3 -0.235405469 43.99484521172 -234.246402515788 1.583393 3
4 -0.047591079 1.537252396967 -221.833500631785 3.94642 4
5 -0.040661322 0.000450827581 -221.704472211321 0.170426
6 -0.040659288 3.756994715E-11 -221.704435259892 5E-05
7 -0.040659288 0 -221.704435259889 4.168E-12
akarnya = -0.04066
persamaan x^4 - 3x^2 - 3 = 0 dalam interval [1,2]

f(x0).f(x1) f(x1).f(x2) f(x0)*f(x2)


-5 -1.78626543209877 8.93132716049383
-1.78626543209877 -0.122903847508445 0.219538894276273
-0.122903847508445 -0.007011886170417 0.000861787788636
-0.007011886170417 -0.000395552538373 2.7735693734941E-06
-0.000395552538373 -2.229955386568E-05 8.8206451361642E-09
-2.22995538657E-05 -1.257107845376E-06 2.803294411293E-11
-1.25710784538E-06 -7.086764597375E-08 8.9088273736931E-14
-7.08676459737E-08 -3.995060282591E-09 2.8312051775045E-16
-3.99506028259E-09 -2.252136255265E-10 8.9974201043935E-19
-2.25213625527E-10 -1.269562233119E-11 2.8592271335236E-21
-1.26956223312E-11 -7.176481631177E-13 9.1109900456172E-24
-7.17648163118E-13 -3.907985046681E-14 2.8045582902418E-26
-3.90798504668E-14 0 0

f(x0).f(x1) f(x1).f(x2) f(x0).f(x2) error


0.228079237929009 -0.110283105905317 -0.015737470165323
-0.015737470165323 -0.000299194620865 0.000618771846868 0.06110908777593
-0.000299194620865 -5.394890750566E-06 2.121183696179E-07 0.00231717048922
-5.39489075057E-06 -9.718272297165E-08 6.8899102170246E-11 4.17539152007E-05
-9.71827229716E-08 -1.750603785196E-09 2.2357269986088E-14 7.52139494857E-07
-1.7506037852E-09 -3.153452120835E-11 7.2546413907629E-18 1.35486835598E-08
-3.15345212084E-11 -5.680311249959E-13 2.3539661832588E-21 2.44059367402E-10
-5.68031124996E-13 -1.022711702918E-14 7.6342645191488E-25 4.39622388662E-12
-1.02271170292E-14 0 0 7.92202753292E-14
0 0 0 0
f(x0).f(x1) f(x1).f(x2) f(x0).f(x2) error
-243 -1687.7109375 562.5703125
-1687.7109375 -2263.42404753328 5240.06244337783 0.67690355329949
-2263.42404753328 -304.158516747863 944.361729861683 0.18110391599409
-304.158516747863 -23.1084312274809 9.6414625055152 0.01688216116036
-23.1084312274809 -1.66866397005589 0.052894659250771 0.00124166948847
-1.66866397005589 -0.120046882449174 0.000274784509548 8.94484114376E-05
-0.120046882449174 -0.008634088081294 1.4218043305225E-06 6.43398915362E-06
-0.008634088081294 -0.000620974391524 7.3546606209083E-09 4.62743757201E-07
-0.000620974391524 -4.466119199265E-05 3.8043150236418E-11 3.32810790973E-08
-4.46611919926E-05 -3.212085829318E-06 1.9678406299045E-13 2.39361328107E-09
-3.21208582932E-06 -2.310162301455E-07 1.0178929481386E-15 1.72151529652E-10
-2.31016230146E-07 -1.66146776337E-08 5.2651031440606E-18 1.2381245048E-11
-1.66146776337E-08 -1.195587628899E-09 2.7248701010974E-20 8.90464007433E-13
-1.1955876289E-09 -8.671463547216E-11 1.4221528863517E-22 6.40248120385E-14
-8.67146354722E-11 -6.906475391588E-12 8.215260575844E-25 4.61440086764E-15
-6.90647539159E-12 0 0 0

f(x) f(x) = 230x^4 + 18x^3 + 9x^2 + 221x - 9


X0 0
X1 1
galat 1E-06

kesimpulan n Xn-1 Xn f(Xn-1)


lanjutkan 1 0 1 -9
lanjutkan 2 1 0.25 27
lanjutkan 3 0.25 0.773763 -62.50781
selesai 4 0.77376276512176 -1.285418 -83.83052
selesai 5 -1.28541778352092 0.594596 879.639
selesai 6 0.59459552040289 0.394641 -104.6914
#DIV/0! 7 0.3946411046834 -0.669318 -88.12894
#DIV/0! 8 -0.66931813555159 0.049714 183.7132
9 0.04971439761607 -0.020754 -19.96102
10 -0.02075415082382 -0.040735 -4.409574
11 -0.04073533289638 -0.040659 0.016859
12 -0.04065922824321 -0.040659 -1.33E-05
230x^4 + 18x^3 + 9x^2 - 221x - 9
920x^3+54x^2+18x-221
0

Xn f(x) f'(x) error


0 -9 -221
-0.040723981900453 0.014342892691063 -221.705611087636 1
-0.040659288487324 3.803668491287E-08 -221.704435263006 0.00159111031048
-0.040659288315759 0 -221.704435259889 4.21957308727E-09
-0.040659288315759 0 -221.704435259889 0
akarnya = - 0.040659288
f(x) = 230x^4 + 18x^3 + 9x^2 - 221x - 9
dengan interval [-1,0]
ketelitian 10^-6
n
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18

19
20
21
22
23
24
25
f(Xn) Xn+1 error kesimpulan 26
27 0.25 3 lanjutkan 27
-62.50781 0.773763 0.676904 lanjutkan 28
-83.83052 -1.285418 1.601954 lanjutkan 29
879.63899 0.594596 3.161836 lanjutkan 30
-104.6914 0.394641 0.506674 lanjutkan 31
-88.12894 -0.669318 1.589617 lanjutkan 32
183.71316 0.049714 14.46327 lanjutkan 33
-19.96102 -0.020754 3.395395 lanjutkan 34
-4.409574 -0.040735 0.490512 lanjutkan 35
0.0168595 -0.040659 0.001872 lanjutkan 36
-1.332E-05 -0.040659 1.477E-06 lanjutkan 37
-4.151E-11 -0.040659 4.605E-12 selesai 38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
f(x) = 230x^4 + 18x^3 + 9x^2 - 221x - 9
dengan interval [-1,0]
ketelitian 10^-6
x0 x1 x2 f(x0) f(x1) f(x2) f(x0).f(x1) f(x1).f(x2)
-1 0 -0.02036199095 433 -9 -4.496381 -3897 40.46743
-1 -0.020362 -0.03043024717 433 -4.496381 -2.266891 -1946.933 10.19281
-1 -0.03043 -0.03547981411 433 -2.266891 -1.148071 -981.564 2.602553
-1 -0.03548 -0.03803041357 433 -1.148071 -0.582771 -497.1148 0.669062
-1 -0.03803 -0.03932337945 433 -0.582771 -0.296161 -252.3397 0.172594
-1 -0.039323 -0.03998000819 433 -0.296161 -0.150595 -128.2376 0.0446
-1 -0.03998 -0.04031378225 433 -0.150595 -0.076599 -65.20774 0.011535
-1 -0.040314 -0.04048352391 433 -0.076599 -0.038967 -33.16743 0.002985
-1 -0.040484 -0.04056986701 433 -0.038967 -0.019825 -16.87291 0.000773
-1 -0.04057 -0.04061379278 433 -0.019825 -0.010087 -8.584237 0.0002
-1 -0.040614 -0.04063614074 433 -0.010087 -0.005132 -4.367473 5.176E-05
-1 -0.040636 -0.04064751098 433 -0.005132 -0.002611 -2.22212 1.34E-05
-1 -0.040648 -0.04065329606 433 -0.002611 -0.001329 -1.1306 3.469E-06
-1 -0.040653 -0.04065623947 433 -0.001329 -0.000676 -0.575245 8.98E-07
-1 -0.040656 -0.04065773707 433 -0.000676 -0.000344 -0.292683 2.325E-07
-1 -0.040658 -0.04065849904 433 -0.000344 -0.000175 -0.148917 6.018E-08
-1 -0.040658 -0.04065888673 433 -0.000175 -8.9E-05 -0.075769 1.558E-08
-1 -0.040659 -0.04065908399 433 -8.9E-05 -4.53E-05 -0.038551 4.033E-09

-1 -0.040659 -0.04065918436 433 -4.53E-05 -2.3E-05 -0.019615 1.044E-09


-1 -0.040659 -0.04065923542 433 -2.3E-05 -1.17E-05 -0.00998 2.703E-10
-1 -0.040659 -0.0406592614 433 -1.17E-05 -5.97E-06 -0.005078 7E-11
-1 -0.040659 -0.04065927462 433 -5.97E-06 -3.04E-06 -0.002584 1.811E-11
-1 -0.040659 -0.04065928135 433 -3.04E-06 -1.54E-06 -0.001315 4.689E-12
-1 -0.040659 -0.04065928477 433 -1.54E-06 -7.86E-07 -0.000669 1.214E-12
-1 -0.040659 -0.04065928651 433 -7.86E-07 -4E-07 -0.00034 3.143E-13
-1 -0.040659 -0.0406592874 433 -4E-07 -2.03E-07 -0.000173 8.135E-14
-1 -0.040659 -0.04065928785 433 -2.03E-07 -1.04E-07 -8.81E-05 2.106E-14
-1 -0.040659 -0.04065928808 433 -1.04E-07 -5.27E-08 -4.48E-05 5.452E-15
-1 -0.040659 -0.04065928819 433 -5.27E-08 -2.68E-08 -2.28E-05 1.411E-15
-1 -0.040659 -0.04065928825 433 -2.68E-08 -1.36E-08 -1.16E-05 3.654E-16
-1 -0.040659 -0.04065928828 433 -1.36E-08 -6.94E-09 -5.9E-06 9.459E-17
-1 -0.040659 -0.0406592883 433 -6.94E-09 -3.53E-09 -3E-06 2.449E-17
-1 -0.040659 -0.04065928831 433 -3.53E-09 -1.8E-09 -1.53E-06 6.339E-18
-1 -0.040659 -0.04065928831 433 -1.8E-09 -9.14E-10 -7.78E-07 1.641E-18
-1 -0.040659 -0.04065928831 433 -9.14E-10 -4.65E-10 -3.96E-07 4.248E-19
-1 -0.040659 -0.04065928831 433 -4.65E-10 -2.37E-10 -2.01E-07 1.1E-19
-1 -0.040659 -0.04065928832 433 -2.37E-10 -1.2E-10 -1.02E-07 2.847E-20
-1 -0.040659 -0.04065928832 433 -1.2E-10 -6.12E-11 -5.21E-08 7.37E-21
-1 -0.040659 -0.04065928832 433 -6.12E-11 -3.12E-11 -2.65E-08 1.908E-21
-1 -0.040659 -0.04065928832 433 -3.12E-11 -1.59E-11 -1.35E-08 4.939E-22
-1 -0.040659 -0.04065928832 433 -1.59E-11 -8.06E-12 -6.86E-09 1.278E-22
-1 -0.040659 -0.04065928832 433 -8.06E-12 -4.1E-12 -3.49E-09 3.309E-23
-1 -0.040659 -0.04065928832 433 -4.1E-12 -2.09E-12 -1.78E-09 8.572E-24
-1 -0.040659 -0.04065928832 433 -2.09E-12 -1.06E-12 -9.05E-10 2.219E-24
-1 -0.040659 -0.04065928832 433 -1.06E-12 -5.4E-13 -4.6E-10 5.736E-25
-1 -0.040659 -0.04065928832 433 -5.4E-13 -2.77E-13 -2.34E-10 1.496E-25
-1 -0.040659 -0.04065928832 433 -2.77E-13 -1.42E-13 -1.2E-10 3.938E-26
-1 -0.040659 -0.04065928832 433 -1.42E-13 -7.28E-14 -6.15E-11 1.035E-26
-1 -0.040659 -0.04065928832 433 -7.28E-14 -3.73E-14 -3.15E-11 2.717E-27
-1 -0.040659 -0.04065928832 433 -3.73E-14 0 -1.62E-11 0
-1 -0.040659 -0.04065928832 433 0 0 0 0
-1 -0.040659 -0.04065928832 433 0 0 0 0
f(x0).f(x2) error
-1946.93294
-981.563962 0.3308634388
-497.114826 0.1423222489
-252.33973 0.06706736074
-128.237605 0.03288033468
-65.2077352 0.01642392694
-33.1674295 0.00827940326
-16.8729135 0.00419285796
-8.58423675 0.00212825693
-4.36747328 0.00108154804
-2.22211972 0.00054995273
-1.13060016 0.00027972798
-0.57524502 0.00014230268
-0.29268322 7.23975919E-05
-0.14891668 3.68342986E-05
-0.07576859 1.87408574E-05
-0.03855096 9.53522555E-06
-0.01961468 4.85148569E-06

-0.00997993 2.46842362E-06
-0.00507777 1.25592938E-06
-0.00258357 6.39014989E-07
-0.00131452 3.25129984E-07
-0.00066882 1.65425737E-07
-0.0003403 8.41684197E-08
-0.00017314 4.28247944E-08
-8.80948E-05 2.17892064E-08
-4.48225E-05 1.10863233E-08
-2.28057E-05 5.64070872E-09
-1.16035E-05 2.86998615E-09
-5.90384E-06 1.46024581E-09
-3.00387E-06 7.42971434E-10
-1.52837E-06 3.78022914E-10
-7.7763E-07 1.92337696E-10
-3.95658E-07 9.78611077E-11
-2.0131E-07 4.9791787E-11
-1.02426E-07 2.53338911E-11
-5.21146E-08 1.28899122E-11
-2.65153E-08 6.55844467E-12
-1.34903E-08 3.33690525E-12
-6.86401E-09 1.69772073E-12
-3.492E-09 8.638784E-13
-1.77677E-09 4.39448218E-13
-9.04535E-10 2.23563948E-13
-4.59959E-10 1.13829888E-13
-2.33825E-10 5.78535712E-14
-1.19989E-10 2.93534344E-14
-6.1533E-11 1.50180362E-14
-3.15357E-11 7.6796776E-15
-1.61524E-11 3.92516855E-15
0 2.04791403E-15
0 0
0 0