Vous êtes sur la page 1sur 18

saat x = 4

f(x) 282 f' 8x^3-9x^2-8x+5


f'' 24x^2-18x-8
Deret taylor f''' 48x-18
x0 = 0 f'''' 48
error f''''' 0
orde 0 7 97.51773
orde 1 27 90.42553
orde 2 -37 113.1206
orde 3 -229 181.2057
orde 4 283 0.35461
orde 5 283 0.35461

x= 1.2
fx= 3.67596091403

Deret Taylor f' 3x^2 + 4x - cos x


x0= 0.8 error f'' 6x + 4 + sin x
orde 0 1.0746439091 70.765632872 f''' 6 + cosx
orde 1 2.84396122536 22.633529249 f'''' -sinx
orde 2 3.60534971263 1.9208909738 f''''' -cosx
orde 3 3.67678125087 0.0223162556
orde 4 3.67601607104 1.50048E-03
orde 5 3.675956619 0.0001168484

x 1.5
fx 18.2550100268

Deret Taylor
f' 12x^2 + 6x - 2 cosx x0= 1.3
f'' 24x + 6 + 2 sin x orde 0 11.93088
f''' 24 + 2 cos x orde 1 17.43988
f'''' -2 sin x orde 2 18.22243
f''''' -2 cos x orde 3 18.25514
orde 4 18.25501
orde 5 18.25501
8x^3-9x^2-8x+5
24x^2-18x-8

3x^2 + 4x - cos x
6x + 4 + sin x

Deret Taylor
error
34.643237053
4.46521764644
0.17849128328
0.00071064628
6.87003471E-06
9.45137213E-07
x fx
-2 -1
-1.9 -0.549
-1.8 -0.192
-1.7 0.077
-1.6 0.264
-1.5 0.375
-1.4 0.416
-1.3 0.393
-1.2 0.312
-1.1 0.179
-1 0
-0.9 -0.219
-0.8 -0.472
-0.7 -0.753
-0.6 -1.056
-0.5 -1.375
-0.4 -1.704
-0.3 -2.037
-0.2 -2.368
-0.1 -2.691
0 -3
0.1 -3.289
0.2 -3.552
0.3 -3.783
0.4 -3.976
0.5 -4.125
0.6 -4.224
0.7 -4.267
0.8 -4.248
0.9 -4.161
1 -4
1.1 -3.759
Chart Title
1.2 -3.432 30
1.3 -3.013
1.4 -2.496 25
1.5 -1.875
1.6 -1.144 20
1.7 -0.297
1.8 0.672 15

10

5
20

15
1.9 1.769
2 3 10
2.1 4.371
2.2 5.888
5
2.3 7.557
2.4 9.384
0
2.5 11.375 -3 -2 -1 0 1
2.6 13.536
-5
2.7 15.873
2.8 18.392
2.9 21.099 -10

3 24
Chart Title
30 Metode bisection
a 1
25 b 2
error 0.01%
20
iterasi a b c fa
15 0 1 2 1.5 -4

10

5
20

15
1 1.5 2 1.75 -1.875
10
2 1.5 1.75 1.625 -1.875
3 1.625 1.75 1.6875 -0.943359
4 1.6875 1.75 1.71875 -0.409424
5
5 1.71875 1.75 1.734375 -0.124786
6 1.71875 1.734375 1.726563 -0.124786
0
0 1 2 3 4 7 1.726563 1.734375 1.730469 -0.051755
8 1.730469 1.734375 1.732422 -0.014957
-5
9 1.730469 1.732422 1.731445 -0.014957
10 1.731445 1.732422 1.731934 -0.005728
-10 11 1.731934 1.732422 1.732178 -0.001109
12 1.731934 1.732178 1.732056 -0.001109

akar 1.732056
metode Regula Falsi
a 1 𝑐=𝑏 −(𝑓(𝑏)(𝑏−𝑎))/(𝑓(𝑏)
b 2 −𝑓(𝑎))
error 0.01%

fc error (%) iterasi a b c fa fb fc


-1.875 0 1 2 1.571429 -4 3 -1.364431
0.171875 16.66667 1 1.571429 2 1.705411 -1.364431 3 -0.247745
-0.943359 7.142857 2 1.705411 2 1.727883 -0.247745 3 -0.03934
-0.409424 3.846154 3 1.727883 2 1.731405 -0.03934 3 -0.006111
-0.124786 1.851852 4 1.731405 2 1.731951 -0.006111 3 -0.000946
0.02203 0.909091 5 1.731951 2 1.732035 -0.000946 3 -0.000146
-0.051755 0.45045
-0.014957 0.226244
0.003513 0.112867 akar 1.732035
-0.005728 0.05637
-0.001109 0.028201
0.001201 0.014096
4.596E-05 0.007047
))/(𝑓(𝑏)

error (%)
8.526143
1.317683
0.203841
0.031534
0.004878
fungsi 1 e^x fungsi 2

x fx x fx
-2 0.135335 -2 -25
-1.8 0.165299 -1.8 -19.032
-1.6 0.201897 -1.6 -13.896
-1.4 0.246597 -1.4 -9.544
-1.2 0.301194 -1.2 -5.928
-1 0.367879 -1 -3
-0.8 0.449329 -0.8 -0.712 Chart T
-0.6 0.548812 -0.6 0.984
-0.4 0.67032 -0.4 2.136 30

-0.2 0.818731 -0.2 2.792


0 1 0 3
0.2 1.221403 0.2 2.808 20
0.4 1.491825 0.4 2.264
0.6 1.822119 0.6 1.416
0.8 2.225541 0.8 0.312
10
1 2.718282 1 -1
1.2 3.320117 1.2 -2.472
1.4 4.0552 1.4 -4.056
1.6 4.953032 1.6 -5.704 0
-3 -2 -1 0
1.8 6.049647 1.8 -7.368
2 7.389056 2 -9
2.2 9.025013 2.2 -10.552 -10
2.4 11.02318 2.4 -11.976
2.6 13.46374 2.6 -13.224
2.8 16.44465 2.8 -14.248
3 20.08554 3 -15 -20

-30
Chart Title
30

20

10

fungsi gab e^x-(x^3-5x^2+3)

0 a 0
-1 0 1 2 3 4
b 1
error 0.01% 0.0001
-10
iterasi a b
0 0 1
1 0.5 1
-20 2 0.5 0.75
3 0.5 0.625
4 0.5 0.5625
-30 5 0.53125 0.5625
6 0.53125 0.546875
7 0.53125 0.539063
8 0.535156 0.539063
9 0.537109 0.539063
10 0.537109 0.538086
11 0.537109 0.537598
12 0.537109 0.537354
13 0.537231 0.537354
𝑅> ln⁡〖 (𝑏−𝑎) 14 0.537292 0.537354

−ln⁡(𝜀) 〗 /ln⁡〖 (2) 〗 titik potong 0.537323


jml iterasi 13.28771 14
Metode Regula Falsi 𝑐=𝑏 −(𝑓(𝑏)(𝑏−𝑎))/(
a
b
0
1
−𝑓(𝑎))
error 0.01%

c fa fc error iterasi a b c fa
0.5 -2 -0.226279 0 0 1 0.349755 -2
0.75 -0.226279 1.507625 50 1 0.349755 1 0.488915 -1.01242
0.625 -0.226279 0.57723 16.66667 2 0.488915 1 0.526026 -0.291136
0.5625 -0.226279 0.159107 10 3 0.526026 1 0.534765 -0.069842
0.53125 -0.226279 -0.037743 5.555556 4 0.534765 1 0.53676 -0.016015
0.546875 -0.037743 0.059651 2.941176 5 0.53676 1 0.537212 -0.003634
0.539063 -0.037743 0.010695 1.428571 6 0.537212 1 0.537315 -0.000823
0.535156 -0.037743 -0.013588 0.724638 7 0.537315 1 0.537338 -0.000186
0.537109 -0.013588 -0.001463 0.364964
0.538086 -0.001463 0.004612 0.181818 titik poton 0.537338
0.537598 -0.001463 0.001574 0.090744
0.537354 -0.001463 5.53E-05 0.045413
0.537231 -0.001463 -0.000704 0.022717
0.537292 -0.000704 -0.000324 0.011361
0.537323 -0.000324 -0.000134 0.00568
𝑏 −(𝑓(𝑏)(𝑏−𝑎))/(𝑓(𝑏)
𝑎))

fb fc error
3.718282 -1.01242
3.718282 -0.291136 39.78759
3.718282 -0.069842 7.590574
3.718282 -0.016015 1.661263
3.718282 -0.003634 0.373106
3.718282 -0.000823 0.084269
3.718282 -0.000186 0.019057
3.718282 -4.21E-05 0.004311

Vous aimerez peut-être aussi