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

# diketahui titik A (2.5 ,8) dan B (3, 9.

5)

n x y
1 2.5 8
2 3 9.5
nilai x 2.85 9.05
nilai y 1.5 5

persamaan garis

y= mx c
y= 3 0.5
hitunglah luas yang dibatasi oleh f(x)= 3e^-x sin(3x)+x dan sumbu x untuk range x =[1,3

penyelesaian
h= 0.1
x f(x)
1 1.1557454
1.1 0.9424731
1.2 0.8001462
1.3 0.7376856
1.4 0.7552162
1.5 0.8456506
1.6 0.9966335
1.7 1.1926067
1.8 1.4167887
1.9 1.6529042
2 1.8865557
2.1 2.1061769
2.2 2.3035593
2.3 2.4739811
2.4 2.6159998
2.5 2.7309872
2.6 2.8224962
2.7 2.8955458
2.8 2.9559046
2.9 3.0094361
3 3.0615545
jumlah 39.358047
L 3.9358047
untuk range x =[1,3] dengan h= 0.1
Hitung differensial dari f(x) =3 e^(-x) sin (3x) + x pada interval [1,3] dengan h = 0,05
penyelesaian :
f(x) =3e^(-x) sin (3x) +x nilai eksak = f'(x)= 3(-e^-x)*sin(3x)+3
f(x-h) = 3e^ (-(x-h)) sin (3x-h) +x
f(x+h) =3 e^ (-(x+h)) sin (3x+h) +x
mencari niali numerik f'(x) = (f(x+h) - f(x-h))/2h
h= 0.05

Interval [1,3]
x f(x) f(x+h) f(x-h) Nilai Numerik f'(x)
1 1.15574544911 3.27991629349468 0.128347141644193 3.27670761495357
1.05 1.04117396034 3.05960001265131 0.185490402695066 3.05496275258394
1.1 0.94247305953 2.85460579243168 0.246065627485677 2.84845415174454
1.15 0.86166278813 2.66489694081864 0.309695924159516 2.65715454271465
1.2 0.80014621148 2.49024603410693 0.376025736490658 2.48084539069467
1.25 0.75873482144 2.33027584183895 0.444720504607825 2.31915782922376
1.3 0.73768556635 2.18449734843971 0.515466258143058 2.17161069198613
1.35 0.73674752255 2.05234423006868 0.587969150170709 2.03764500131442
1.4 0.75521618203 1.93320346173565 0.661954939787947 1.91665458824095
1.45 0.7919933425 1.82644199403697 0.73716843068511 1.80801278326984
1.5 0.84565064489 1.73142964939686 0.813372872564259 1.71109532758275
1.55 0.91449490281 1.6475585472711 0.890349331788344 1.62529981397639
1.6 0.99663350238 1.57425948225963 0.967896037182359 1.55006208133007
1.65 1.090038313 1.51101575619831 1.04582770646255 1.48487006353674
1.7 1.19260673364 1.45737501365182 1.12397485834076 1.4292756421933
1.75 1.30221869773 1.41295965855685 1.20218311493887 1.38290508068338
1.8 1.41678866805 1.37747644649262 1.28031249875317 1.34546863402379
1.85 1.53431186377 1.35072586004393 1.35823672803121 1.31676994184315
1.9 1.6529041713 1.33261189119501 1.43584251406333 1.29671582834343
1.95 1.77083539223 1.32315288132898 1.51302886354894 1.28532715974025
2 1.88655567323 1.32249411253323 1.58970638887266 1.28275145281141
2.05 1.99871513925 1.3309229097709 1.66579662881798 1.28927799405045
2.1 2.10617691059 1.34888710856744 1.74123138195607 1.30535632401853
2.15 2.20802382457 1.37701787428997 1.8159520546739 1.33161907292313
2.2 2.30355930111 1.41615803498286 1.88990902554954 1.36891030934412
2.25 2.39230288919 1.46739731959663 1.96306102754206 1.41832079390808
2.3 2.47398110582 1.53211618866788 2.03537454923923 1.4812318249369
2.35 2.54851423332 1.6120403186568 2.10682325619701 1.55936973725187
2.4 2.6159997726 1.7093082703971 2.17738743321127 1.65487358456682
2.45 2.67669326388 1.82655545549148 2.24705344818224 1.77037911928693
2.5 2.73098718041 1.96701823400353 2.31581323806684 1.90912290305186
2.55 2.7793885798 2.1346628572847 2.38366381726189 2.07507126185315
2.6 2.82249616179 2.33434503828111 2.45060680862183 2.27307986806556
2.65 2.86097733351 2.57200721617123 2.51664799718738 2.50909101624155
2.7 2.89554582612 2.85492210928585 2.58179690658674 2.79037718662119
2.75 2.9269403417 3.19199294135949 2.64606639796608 3.12584128141034
2.8 2.95590463936 3.59412279157656 2.70947229121328 3.52638598429623
2.85 2.98316939627 4.07466784910049 2.77203300815467 4.00536702389663
2.9 3.00943610551 4.64999190600228 2.83376923733095 4.579147675069
2.95 3.03536319904 5.34014210738844 2.89470361989305 5.26777451689111
3 3.0615545136 6.16966863018009 2.95486045610205 6.09579711877754
x)= 3(-e^-x)*sin(3x)+3e^-xcos(3x))+1

## Nilai Eksak f'(x) Error

-2.43352642682916 -5.7102340418
-2.14050239632586 -5.1954651489
-1.80080420978094 -4.6492583615
-1.42693831960264 -4.0840928623
-1.03103221183089 -3.5118776025
-0.624582549318438 -2.9437403785
-0.218242258713214 -2.3898529507
0.178352089954952 -1.8592929114
0.556712347227539 -1.359942241
0.909591015820372 -0.8984217674
1.23103525074312 -0.4800600768
1.51640498411811 -0.1088948299
1.76235815838086 0.21229607705
1.96680654849436 0.48193648496
2.12884602083293 0.69957037864
2.24866531714121 0.86576023646
2.3274375727497 0.98196893873
2.36719878757963 1.05042884574
2.37071737677945 1.07400154844
2.34135874689352 1.05603158715
2.28294858606121 1.00019713325
2.19963823626796 0.91036024222
2.09577514572975 0.79041882171
1.97578099357952 0.64416192066
1.84403965019712 0.47512934085
1.70479669714606 0.28647590324
1.56207179218557 0.08083996725
1.41958473754092 -0.1397849997
1.28069570261768 -0.3741778819
1.14835967336676 -0.6220194459
1.02509485587903 -0.8840280472
0.912964456423393 -1.1621068054
0.813570997553975 -1.4595088705
0.728062112263709 -1.781028904
0.65714658634405 -2.1332306003
0.601119292841312 -2.5247219886
0.55989358044252 -2.9664924039
0.533039637518713 -3.4723273864
0.519827352360912 -4.0593203227
0.519272224188951 -4.7485022927
0.530182944634485 -5.5656141741
h= 1
n y(n) reiman L 78
0 0
1 1.5 teprezoidal L
2 2
3 6 mpson L 80.5
4 6.5
5 6.5
6 7
7 7.5
8 6.5
9 7
10 7.5
11 5.5
12 6
13 6
14 2.5
total 78