0% found this document useful (0 votes)
64 views12 pages

Metode Regula Falsi Fix

This document uses the Regula Falsi method to find the root of the function f(x)=e^x−(x+2)^2 on the interval (-1,-2). It runs the method for 36 iterations, calculating the new root x, function values f(a) and f(b), and error at each step, until the error is less than 0.0005. The root is approximated as -1.53607809402694.

Uploaded by

Dheyat
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
64 views12 pages

Metode Regula Falsi Fix

This document uses the Regula Falsi method to find the root of the function f(x)=e^x−(x+2)^2 on the interval (-1,-2). It runs the method for 36 iterations, calculating the new root x, function values f(a) and f(b), and error at each step, until the error is less than 0.0005. The root is approximated as -1.53607809402694.

Uploaded by

Dheyat
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as XLSX, PDF, TXT or read online on Scribd
You are on page 1/ 12

METODE RE

Tugas No.1
𝑓(𝑥)=𝑥^3−3^𝑥+1

akar berada di I = (0,1)


k a b x f(a) f(b) f(x) = error
1 0 1 0.5 1 -1 -0.375
2 0 0.5 0.36363636 1 -0.375 -0.04282494365
3 0 0.36363636 0.34870317 1 -0.04282494365 -0.00370933143
4 0 0.34870317 0.34741449 1 -0.00370933143 -0.00031165504
5 0 0.34741449 0.34730625 1 -0.00031165504 -2.61161792E-05

akar berada di I = (1,2)

k a b x f(a) f(b) f(x) = error


1 1 2 1.25 -1 3 -0.796875

2 1.25 2 1.40740741 -0.796875 3 -0.43443580755

3 1.40740741 2 1.48236686 -0.4344358 3 -0.18973056928

4 1.48236686 2 1.51315656 -0.1897306 3 -0.07488170123

5 1.51315656 2 1.52501252 -0.0748817 3 -0.02837210241

6 1.52501252 2 1.52946256 -0.0283721 3 -0.01058363107


𝑓(𝑥)=𝑒^𝑥−(𝑥+2)^2
7 1.52946256 2 1.53111672 -0.0105836 3 -0.0039250316

8 1.53111672 2 1.53172938 -0.003925 3 -0.00145248095

9 1.53172938 2 1.53195599 -0.0014525 3 -0.00053706801

Tugas No.2 misal


contoh salah ditanyakan
akar berada di I = (0,-1)
k a b x f(a) f(b) f(x) = error
1 0 -1 -1.2669564 -3 -0.63212055883 -0.25566526275
2 0 -1.2669564 -1.3849875 -3 -0.25566526275 -0.12791349008
3 0 -1.3849875 -1.4466703 -3 -0.12791349008 -0.07082108407
4 0 -1.4466703 -1.4816476 -3 -0.07082108407 -0.04142623961
5 0 -1.4816476 -1.5023938 -3 -0.04142623961 -0.02501525107
6 0 -1.5023938 -1.5150267 -3 -0.02501525107 -0.01539675813
METODE REGULA FALSI
Tugas No.2
𝑓(𝑥)=𝑒^𝑥−(𝑥+2)^2

akar berada di I = (-1,-2)


|xk+1-xk|<0,0005 k a b x f(a)
0.5 1 -1 -2 -1.8236572376 -0.6321205588
0.136363636363636 2 -1 -1.8236572376 -1.6828581186 -0.6321205588
0.014933193607545 3 -1 -1.6828581186 -1.6016984907 -0.6321205588
0.001288675502207 4 -1 -1.6016984907 -1.5634501955 -0.6321205588
0.000108239746292 5 -1 -1.5634501955 -1.5471457831 -0.6321205588
6 -1 -1.5471457831 -1.5404954519 -0.6321205588

|xk+1-xk|<0,0005 kenapa saya ambil interval -1 dan -2. karna sebelumnya saya meragukan kalau 0 itu termasuk
Dilihat dari soal no.1 sudah jelas kalo syaratnya meminta akar real positif. Dan juga angka neg
1.25

0.157407407407407

0.074959456497918

0.030789694445332

0.011855956971228

0.004450045471391

0.001654162538755

0.000612658991157 𝜀
0.000226608336269

|xk+1-xk|<
-1.26695639475455
-0.118031060555079
-0.06168288403382
-0.034977297276651
-0.020746175349796
-0.012632924732162
𝜀
f(b) f(x) = error |xk+1-xk|<
0.13533528324 0.13033749667 1.82365723757
0.13033749667 0.08526308468 0.14079911896
0.08526308468 0.04290979737 0.08115962793
0.04290979737 0.01883657815 0.03824829517
0.01883657815 0.00777769916 0.01630441243
0.00777769916 0.00313048252 0.00665033112

eragukan kalau 0 itu termasuk akar real negatif.


eal positif. Dan juga angka negatif 0 itu tidak ada (-0).
MATA KULIAH : METODE NUMERIK
KELAS : ILKOM B 2018
NAMA KELOMPOK :
> RAMA DANA ERI SAPUTRA 1815025078
> RAHMAT 1815025086
> RAHMAT HIDAYAT 1815025091
> JULIAN 1815025095
> NUKRASI 1815025102

METODE REGULA FALSI


*Tugas No.2
𝑓(𝑥)=𝑒^𝑥−(𝑥+2)^2

akar berada di I = (-1,-2)


k a b x f(a) f(b) f(x) = error |xk+1-x𝜀 k|<
1 -1 -2 -1.82365723756505 -0.63212055882856 0.13533528323661 0.13033749666664 1.82365723756505
2 -1 -1.82365723756505 -1.68285811860779 -0.63212055882856 0.13033749666664 0.08526308468256 0.14079911895726
3 -1 -1.68285811860779 -1.60169849067417 -0.63212055882856 0.08526308468256 0.04290979736831 0.08115962793363
4 -1 -1.60169849067417 -1.56345019550547 -0.63212055882856 0.04290979736831 0.01883657814503 0.03824829516869
5 -1 -1.56345019550547 -1.54714578307086 -0.63212055882856 0.01883657814503 0.00777769916425 0.01630441243461
6 -1 -1.54714578307086 -1.54049545194938 -0.63212055882856 0.00777769916425 0.00313048252116 0.00665033112148
7 -1 -1.54049545194938 -1.53783191981018 -0.63212055882856 0.00313048252116 0.00124706672091 0.0026635321392
8 -1 -1.53783191981018 -1.53677295774521 -0.63212055882856 0.00124706672091 0.00049474308664 0.00105896206497
9 -1 -1.53677295774521 -1.53635316911674 -0.63212055882856 0.00049474308664 0.00019595656226 0.00041978862847
10 -1 -1.53635316911674 -1.53618695184957 -0.63212055882856 0.00019595656226 7.75637168621E-05 0.00016621726717
11 -1 -1.53618695184957 -1.53612116764137 -0.63212055882856 7.75637168621E-05 3.06934753707E-05 6.57842082019E-05
12 -1 -1.53612116764137 -1.53609513681125 -0.63212055882856 3.06934753707E-05 1.2144774485E-05 2.60308301134E-05
13 -1 -1.53609513681125 -1.53608483714711 -0.63212055882856 1.2144774485E-05 4.80524359497E-06 1.029966414E-05
14 -1 -1.53608483714711 -1.53608076197725 -0.63212055882856 4.80524359497E-06 1.90122914612E-06 4.07516985801E-06
15 -1 -1.53608076197725 -1.53607914961188 -0.63212055882856 1.90122914612E-06 7.52230241235E-07 1.6123653781E-06
16 -1 -1.53607914961188 -1.5360785116727 -0.63212055882856 7.52230241235E-07 2.97622687911E-07 6.37939175485E-07
17 -1 -1.5360785116727 -1.53607825926982 -0.63212055882856 2.97622687911E-07 1.17755405649E-07 2.52402884593E-07
18 -1 -1.53607825926982 -1.53607815940579 -0.63212055882856 1.17755405649E-07 4.6590299535E-08 9.98640214966E-08
19 -1 -1.53607815940579 -1.53607811989428 -0.63212055882856 4.6590299535E-08 1.84335967879E-08 3.95115138385E-08
20 -1 -1.53607811989428 -1.53607810426143 -0.63212055882856 1.84335967879E-08 7.29330940086E-09 1.563285279E-08
21 -1 -1.53607810426143 -1.53607809807624 -0.63212055882856 7.29330940086E-09 2.88562027051E-09 6.18518636308E-09
22 -1 -1.53607809807624 -1.53607809562905 -0.63212055882856 2.88562027051E-09 1.14170448096E-09 2.44718800779E-09
23 -1 -1.53607809562905 -1.53607809466082 -0.63212055882856 1.14170448096E-09 4.51718967787E-10 9.6823726814E-10
24 -1 -1.53607809466082 -1.53607809427773 -0.63212055882856 4.51718967787E-10 1.7872398006E-10 3.83086229405E-10
25 -1 -1.53607809427773 -1.53607809412616 -0.63212055882856 1.7872398006E-10 7.07126857069E-11 1.51569201634E-10
26 -1 -1.53607809412616 -1.53607809406619 -0.63212055882856 7.07126857069E-11 2.7977786754E-11 5.99686966751E-11
27 -1 -1.53607809406619 -1.53607809404246 -0.63212055882856 2.7977786754E-11 1.10694231559E-11 2.37270203485E-11
28 -1 -1.53607809404246 -1.53607809403308 -0.63212055882856 1.10694231559E-11 4.37980207657E-12 9.38737976242E-12
29 -1 -1.53607809403308 -1.53607809402936 -0.63212055882856 4.37980207657E-12 1.73286385241E-12 3.71436215119E-12
30 -1 -1.53607809402936 -1.53607809402789 -0.63212055882856 1.73286385241E-12 6.85673740008E-13 1.46949119539E-12
31 -1 -1.53607809402789 -1.53607809402731 -0.63212055882856 6.85673740008E-13 2.71255240492E-13 5.81534820299E-13
32 -1 -1.53607809402731 -1.53607809402708 -0.63212055882856 2.71255240492E-13 1.07330810906E-13 2.30038210702E-13
33 -1 -1.53607809402708 -1.53607809402699 -0.63212055882856 1.07330810906E-13 4.24660306919E-14 9.10382880193E-14
34 -1 -1.53607809402699 -1.53607809402696 -0.63212055882856 4.24660306919E-14 1.69586567011E-14 3.57491813929E-14
35 -1 -1.53607809402696 -1.53607809402694 -0.63212055882856 1.69586567011E-14 6.68909372337E-15 1.44328993201E-14
36 -1 -1.53607809402694 -1.53607809402694 -0.63212055882856 6.68909372337E-15 2.72004641033E-15 5.55111512313E-15
37 -1 -1.53607809402694 -1.53607809402693 -0.63212055882856 2.72004641033E-15 1.13797860024E-15 0
38 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
39 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
40 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
41 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
42 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
43 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
44 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
45 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
46 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
47 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
48 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
49 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
50 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
51 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
52 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
53 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
54 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
55 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
56 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
57 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
58 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
59 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
60 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
61 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
62 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
63 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
64 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
65 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
66 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
67 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
68 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
69 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
70 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
71 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
72 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
73 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
74 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
75 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
76 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
77 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
78 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
79 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
80 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
81 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
82 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
83 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
84 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
85 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
86 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
87 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
88 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
89 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
90 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
91 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
92 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
93 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
94 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
95 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
96 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
97 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
98 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
99 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
100 -1 -1.53607809402693 -1.53607809402693 -0.63212055882856 1.13797860024E-15 0 0
MATA KULIAH : METODE NUMERIK
KELAS : ILKOM B 2018
NAMA KELOMPOK :
> RAMA DANA ERI SAPUTRA 1815025078
> RAHMAT 1815025086
> RAHMAT HIDAYAT 1815025091
> JULIAN 1815025095
> NUKRASI 1815025102

METODE REGULA FALSI


*Tugas No.1
𝑓(𝑥)=𝑥^3−3^𝑥+1

akar berada di I = (0,1)


k a b x f(a) f(b) f(x) = error |xk+1-xk|<0,0005
1 0 1 0.5 1 -1 -0.375 0.5
2 0 0.5 0.363636363636364 1 -0.375 -0.04282494365139 0.136363636363636
3 0 0.36363636364 0.348703170028818 1 -0.04282494365 -0.003709331425459 0.014933193607545
4 0 0.34870317003 0.347414494526611 1 -0.00370933143 -0.00031165504451 0.001288675502207
5 0 0.34741449453 0.347306254780319 1 -0.00031165504 -2.6116179240532E-05 0.000108239746292

akar berada di I = (1,2)


k a b x f(a) f(b) f(x) = error |xk+1-xk|<0,0005
1 1 2 1.25 -1 3 -0.796875 1.25
2 1.25 2 1.40740740740741 -0.796875 3 -0.434435807549662 0.157407407407407
3 1.40740740741 2 1.48236686390533 -0.43443580755 3 -0.189730569283352 0.074959456497918
4 1.48236686391 2 1.51315655835066 -0.18973056928 3 -0.074881701225849 0.030789694445332
5 1.51315655835 2 1.52501251532189 -0.07488170123 3 -0.028372102412678 0.011855956971228
6 1.52501251532 2 1.52946256079328 -0.02837210241 3 -0.010583631072386 0.004450045471391
7 1.52946256079 2 1.53111672333203 -0.01058363107 3 -0.003925031603712 0.001654162538755
8 1.53111672333 2 1.53172938232319 -0.0039250316 3 -0.001452480953158 0.000612658991157
9 1.53172938232 2 1.53195599065946 -0.00145248095 3 -0.000537068012256 0.000226608336269

You might also like