Sie sind auf Seite 1von 26

i x(i) x(i+1) i t(i) s[t(i)]

0 100 26.267851073 0 4.9 36.81


1 26.267851073 13.186165383 1 4.902 36.833604
2 13.186165383 9.0721087781 2 4.904 36.857216
3 9.0721087781 7.3146948977 3 4.906 36.880836
4 7.3146948977 6.41894573 4 4.908 36.904464
5 6.41894573 5.9103823996 5 4.91 36.9281
6 5.9103823996 5.6011317425 6 4.912 36.951744
7 5.6011317425 5.404435419 7 4.914 36.975396
8 5.404435419 5.275513997 8 4.916 36.999056
9 5.275513997 5.1892772116 9 4.918 37.022724
10 5.1892772116 5.1307836128 10 4.92 37.0464
11 5.1307836128 5.0907254188 11 4.922 37.070084
12 5.0907254188 5.0631095121 12 4.924 37.093776
13 5.0631095121 5.0439832062 13 4.926 37.117476
14 5.0439832062 5.030694032 14 4.928 37.141184
15 5.030694032 5.0214398557 15 4.93 37.1649
16 5.0214398557 5.0149854426 16 4.932 37.188624
17 5.0149854426 5.0104788292 17 4.934 37.212356
18 5.0104788292 5.0073298079 18 4.936 37.236096
19 5.0073298079 5.0051282356 19 4.938 37.259844
20 5.0051282356 5.0035884772 20 4.94 37.2836
21 5.0035884772 5.0025113034 21 4.942 37.307364
22 5.0025113034 5.0017576035 22 4.944 37.331136
23 5.0017576035 5.0012301711 23 4.946 37.354916
24 5.0012301711 5.0008610456 24 4.948 37.378704
25 5.0008610456 5.0006026956 25 4.95 37.4025
26 5.0006026956 5.0004218691 26 4.952 37.426304
27 5.0004218691 5.0002952997 27 4.954 37.450116
28 5.0002952997 5.0002067055 28 4.956 37.473936
29 5.0002067055 5.0001446918 29 4.958 37.497764
30 5.0001446918 5.0001012832 30 4.96 37.5216
31 5.0001012832 5.0000708977 31 4.962 37.545444
32 5.0000708977 5.0000496282 32 4.964 37.569296
33 5.0000496282 5.0000347396 33 4.966 37.593156
34 5.0000347396 5.0000243177 34 4.968 37.617024
35 5.0000243177 5.0000170223 35 4.97 37.6409
36 5.0000170223 5.0000119156 36 4.972 37.664784
37 5.0000119156 5.0000083409 37 4.974 37.688676
38 5.0000083409 5.0000058386 38 4.976 37.712576
39 5.0000058386 5.000004087 39 4.978 37.736484
40 5.000004087 5.0000028609 40 4.98 37.7604
41 5.0000028609 5.0000020027 41 4.982 37.784324
42 5.0000020027 5.0000014019 42 4.984 37.808256
43 5.0000014019 5.0000009813 43 4.986 37.832196
44 5.0000009813 5.0000006869 44 4.988 37.856144
45 5.0000006869 5.0000004808 45 4.99 37.8801
46 5.0000004808 5.0000003366 46 4.992 37.904064
47 5.0000003366 5.0000002356 47 4.994 37.928036
48 5.0000002356 5.0000001649 48 4.996 37.952016
49 5.0000001649 5.0000001154 49 4.998 37.976004
50 5.0000001154 5.0000000808 50 5 38
51 5.002 38.024004
52 5.004 38.048016
53 5.006 38.072036
54 5.008 38.096064
55 5.01 38.1201
56 5.012 38.144144
57 5.014 38.168196
58 5.016 38.192256
59 5.018 38.216324
v[t(i)]

11.80
11.81
11.81
11.81
11.82
11.82
11.83
11.83
11.83
11.84
11.84
11.85
11.85
11.85
11.86
11.86
11.87
11.87
11.87
11.88
11.88
11.89
11.89
11.89
11.90
11.90
11.91
11.91
11.91
11.92
11.92
11.93
11.93
11.93
11.94
11.94
11.95
11.95
11.95
11.96
11.96
11.97
11.97
11.97
11.98
11.98
11.99
11.99
11.99
12.00
12.00
12.01
12.01
12.01
12.02
12.02
12.03
12.03
12.03
numerik analitik

c c
(
v i+1=v i + g )
v ( t t )
m i i+1 i vi=
gm
c
(
ti
1e m )
m= 65
c= 2
g= 10
analitik Numerik
i t(i) v(i) i t(i) v(i)
0 0 0 0 0 0
1 3 28.657022882 1 3 30
2 6 54.787199732 2 6 57.230769231
3 9 78.613336348 3 9 81.947928994
4 12 100.33859253 4 12 104.38350478
5 15 120.14821436 5 15 124.74810434 350
6 18 138.21111377 6 18 143.23289471
7 21 154.6813088 7 21 160.01139673 300
8 24 169.6992369 8 24 175.24111396
9 27 183.39295235 9 27 189.06501113 250
10 30 195.87921821 10 30 201.61285626
11 33 207.2645019 11 33 213.00243876
200
12 36 217.64588301 12 36 223.34067518
13 39 227.11188113 13 39 232.72461286
14 42 235.74321055 14 42 241.2423409 150
15 45 243.61346857 15 45 248.97381712
16 48 250.78976302 16 48 255.99161862 100
17 51 257.33328443 17 51 262.36162306
18 54 263.29982786 18 54 268.14362708 50
19 57 268.74026862 19 57 273.39190766
20 60 273.70099603 20 60 278.15573157
21 63 278.22430905 21 63 282.47981788 0
0
22 66 282.34877688 22 66 286.40475777
23 69 286.10956789 23 69 289.96739552
24 72 289.53874943 24 72 293.20117439
25 75 292.66556134 25 75 296.1364506
26 78 295.51666518 26 78 298.80077824
27 81 298.11637164 27 81 301.21916794
28 84 300.48684781 28 84 303.41432167
29 87 302.64830616 29 87 305.40684582
30 90 304.61917693 30 90 307.21544467
31 93 306.41626528 31 93 308.85709593
32 96 308.05489454 32 96 310.34721015
33 99 309.54903693 33 99 311.69977537
34 102 310.91143263 34 102 312.92748841
35 105 312.15369847 35 105 314.0418741
36 108 313.28642695 36 108 315.05339341
37 111 314.31927658 37 111 315.97154171
38 114 315.26105423 38 114 316.80493786
39 117 316.1197902 39 117 317.56140514
40 120 316.90280674 40 120 318.24804466
41 123 317.61678044 41 123 318.87130208
42 126 318.26779919 42 126 319.43702804
43 129 318.86141406 43 129 319.95053314
44 132 319.40268667 44 132 320.41663778
45 135 319.89623232 45 135 320.83971737
46 138 320.34625935 46 138 321.22374346
47 141 320.75660505 47 141 321.57232098
48 144 321.13076833 48 144 321.88872212
49 147 321.4719396 49 147 322.175917
50 150 321.78302793 50 150 322.43660159
51 153 322.0666859 51 153 322.67322298
52 156 322.32533221 52 156 322.8880024
53 159 322.56117226 53 159 323.08295602
54 162 322.776217 54 162 323.25991393
55 165 322.97230008 55 165 323.42053726
56 168 323.15109344 56 168 323.56633382
57 171 323.31412162 57 171 323.69867224
58 174 323.46277471 58 174 323.8187948
59 177 323.59832025 59 177 323.92782912
60 180 323.721914 60 180 324.02679874
61 183 323.83460982 61 183 324.11663271
62 186 323.93736863 62 186 324.1981743
63 189 324.03106663 63 189 324.27218898
64 192 324.11650277 64 192 324.33937154
65 195 324.19440554 65 195 324.40035263
66 198 324.2654392 66 198 324.45570469
67 201 324.33020943 67 201 324.50594734
68 204 324.38926852 68 204 324.5515522
69 207 324.44312005 69 207 324.59294738
70 210 324.49222319 70 210 324.63052147
350

300

250

200
Analitik

150 numerik

100

50

0
0 50 100 150 200 250
Consider the function f(x) = X3 2X + 4 on the interval [-2,2] with h = 0,25 use the forward.
Backward, and centered finite difference approximations for the first and second derivatives so as to
graphically illustrate which approximation is most accurate. Graph all three first derivative finite
difference approximations along with the theoretical and do the same for the second derivative as well

Forward formula

Backward formula

Central formula

f(x) = X3 2X + 4 f(x) = 3x2 - 2


h 0.25

Eksak Forward Backward Central Forward Backward


x f(x)
f'(x) f'(x) f'(x) f'(x) Error Error
-2.000 0.000 10.000
-1.750 2.141 7.188 5.938 8.563 7.250 17.4% 19.1%
-1.500 3.625 4.750 3.688 5.938 4.813 22.4% 25.0%
-1.250 4.547 2.688 1.813 3.688 2.750 32.6% 37.2%
-1.000 5.000 1.000 0.313 1.813 1.063 68.8% 81.3%
-0.750 5.078 -0.313 -0.813 0.313 -0.250 160.0% 200.0%
-0.500 4.875 -1.250 -1.563 -0.813 -1.188 25.0% 35.0%
-0.250 4.484 -1.813 -1.938 -1.563 -1.750 6.9% 13.8%
0.000 4.000 -2.000 -1.938 -1.938 -1.938 3.1% 3.1%
0.250 3.516 -1.813 -1.563 -1.938 -1.750 13.8% 6.9%
0.500 3.125 -1.250 -0.813 -1.563 -1.188 35.0% 25.0%
0.750 2.922 -0.313 0.313 -0.813 -0.250 200.0% 160.0%
1.000 3.000 1.000 1.813 0.313 1.063 81.3% 68.8%
1.250 3.453 2.688 3.688 1.813 2.750 37.2% 32.6%
1.500 4.375 4.750 5.938 3.688 4.813 25.0% 22.4%
1.750 5.859 7.188 8.563 5.938 7.250 19.1% 17.4%
2.000 8.000 10.000 -32.000 8.563 -11.719 420.0% 14.4%
vative as well

Central
Error Chart Title
0.9% 12.000
1.3%
2.3% 10.000
6.3%
8.000
20.0%
5.0% 6.000
3.4%
3.1% 4.000
3.4%
2.000
5.0%
20.0% 0.000
6.3% -2.500 -2.000 -1.500 -1.000 -0.500 0.000 0.500 1.000 1.500 2.000
2.3% -2.000
1.3%
-4.000
0.9%
217.2% Col umn B Col umn C Col umn D Column E Col umn F
1.000 1.500 2.000

Col umn E Column F


L= 4

t(s) i (A)
0 0
0.1 0.16
0.2 0.32
0.3 0.56
0.5 0.84
0.7 2
H Chart Title
2.5

Center forward Backward 2


Volt (V)
di/dt (A/S) di/dt (A/S) di/dt (A/S)
1.5

1.60 1.6 1.6 6.40 1


2.00 2.4 1.6 8.00
1.73 1.4 2.4 6.93 0.5
3.60 5.8 1.4 14.40 0
0 0.1 0.2 0.3 0.4 0.5 0.6 0.7

Chart Title
100.00%
90.00%
80.00%
70.00%
60.00%
50.00%
40.00%
30.00%
20.00%
10.00%
0.00%
1 2 3 4

Row 7 Row 8 Row 9 Row 10 Row 11


itle

0.4 0.5 0.6 0.7 0.8

4 5

Row 10 Row 11
t (s) x (m)
0 153
0.52 185
1.04 208
1.75 249
2.37 261
3.25 271
3.83 273
Chart Title
Velocity ( dx/dt) Acceleration (dv/dt)
300
52.88 -33.28 250
52.03 66.57
39.85 -57.53 200
14.67 -5.20 150
8.22 -10.33
100
50
0
1 2 3 4 5 6 7

Col umn I Col umn J


6 7

umn J
R= 2
L= 0.05

Central Center forward Backward


t I(t)
di/dt di/dt di/dt di/dt
1 8.2277
1.1 7.2428 -11.1845 -12.5200 -9.8490
1.2 5.9908 -13.6824 -13.5840 -14.6480 -12.5200
1.3 4.526 -15.3930 -16.1380 -14.6480
1.4 2.9122

Central Center forward Backward


t
di/dt di/dt di/dt di/dt
1 8.2277
1.1 7.2428 -11.1842 -12.51966 -9.84877
1.2 5.9908 -13.6784 -13.5810 -14.64227 -12.51966
1.3 4.5266 -15.3929 -16.14347 -14.64227
1.4 2.9122

center forward
f ( x+ h)+ f ( x h) f ( x + h )f ( x
f ' ( x )= f ' ( x )=
2h h

backward
f ( x ) f ( x h )
f ' ( x )=
h
Central Center forward Backward Center forward Backward
V(t) V(t) V(t) V(t) Error Error Error

13.92638 13.8596 13.9932


11.2975 11.3024 11.2492 11.3556 0.72% 7.06% 8.50%
8.28235 8.2451 8.3196

Central Center forward Backward Center forward Backward


V(t) V(t) V(t) V(t) Error Error Error

13.92636 13.8596 13.9931


11.2977 11.30259 11.2495 11.3557 0.71% 7.05% 8.47%
8.283545 8.2460 8.3211

( x + h )f ( x )
h
i
0
1

X
2

i
0
1
2

X
2
Xi ln (x)
1 0
4 1.3862943611

ln (x) ln (x) eksak Ralat (%)


0.4620981204 0.6931471806 33.33%

Xi ln (x) b
1 0 0
4 1.3862943611 0.4620981204
6 1.7917594692 -0.0518731133

ln (x) Numeric ln (x) eksak Ralat (%)


0.5658443469 0.6931471806 18.37%
Temperatur pada permukaan pelat konduktor yang dipanaskan
di ukur di beberapa titik (lihat tabel). perkirakan nilai temperatur
pada (a) x = 4, y = 4,5, dan (b) x = 2,5 , y = 4. gunakan metode interpolasi

Tabel. Temperatur () di permukaan pelat pada beberapa titik

x=0 x=2 x=4 x= 6 x=8


y=0 100 90 80 70 60
y=2 85 64.49 53.5 48.15 50
y=4 70 48.9 38.43 35.03 40
y=6 55 38.78 30.39 27.07 30
y=8 40 35 30 25 20

Linier
a. x = 2,5 y = 4
y x T
4 2 48.9
4 4 38.43

x T
2.5 46.2825

Kuadrat
y x T
4 2 48.9
4 4 38.43
4 6 35.03

x T
2.5 45.61969
metode interpolasi

Linier
a. x = 4 y = 4,5
x y T
4 4 38.43
4 6 30.39

y T
4.5 36.42

Kuadrat
x y T b
4 4 38.43 38.43
4 6 30.39 -4.02
4 8 30 0.95625

y T
4.5 35.7028125

b
48.9
-5.235
0.88375

Das könnte Ihnen auch gefallen