Download as xlsx, pdf, or txt
Download as xlsx, pdf, or txt
You are on page 1of 3

i

Finding velocity at 120 second using Euler's Method


t
v
f(x,y)
yi+1
0
0 0.00000
9.81000
1
10 98.10000
-2.45250
2
20 73.57500
0.61313
3
30 79.70625
-0.15328
4
40 78.17344
0.03832
5
50 78.55664
-0.00958
6
60 78.46084
0.00240
7
70 78.48479
-0.00060
8
80 78.47880
0.00015
9
90 78.48030
-0.00004
10
100 78.47993
0.00001
11
110 78.48002
0.00000
12
120 78.48000
0.00000

i
0
1
2
3
4
5

Forward 0(h)
Centered

98.10000
73.57500
79.70625
78.17344
78.55664
78.46084
78.48479
78.47880
78.48030
78.47993
78.48002
78.48000
78.48000

Finding Approximate distance at terminal velocity using romberg integration


segment Step size in i(j,1)
ea%
i(j,2)
1
120
4708.79856
2
60
7060.59492
33.30876
7844.52703
4
30
8183.69665
13.72365
8558.06390
8
15
8615.77102
5.01492
8759.79581
16
7.5
8744.43564
1.47139
8787.32384
32
3.75
8774.93106
0.34753
8785.09620

V(ti)
V(ti+1)
V(ti+2)
78.47998 78.47998

78.4800

V'(ti)
2.99717E-06

V(ti-2)
V(ti-1)
V(ti+1)
V(ti+2)
V'(ti) (0h^4)
78.47997 78.47997
78.47998
78.47998
3.0009E-06

t
0
1
2
3
4
5
6
7
8
9
10
11
12

ty using romberg integration


ea%

i(j,3)

8.33760
2.30293
0.31327
-0.02536

V'(t) (oh^2)
2.12334E-06

ea%

8773.24460
8789.15905
8784.94769

V(ti)
Backward

Finding velocity at 120 second using 4th order Runge-Kutta method


v
k1
k2
k3
0
0.00000
9.81000 3.67875 7.51078
10
54.35098
3.01613 1.13105 2.30922
20
71.06142
0.92732 0.34775 0.70998
30
76.19913
0.28511 0.10692 0.21829
40
77.77874
0.08766 0.03287 0.06711
50
78.26439
0.02695 0.01011 0.02063
60
78.41371
0.00829 0.00311 0.00634
70
78.45962
0.00255 0.00096 0.00195
80
78.47373
0.00078 0.00029 0.00060
90
78.47807
0.00024 0.00009 0.00018
100
78.47941
0.00007 0.00003 0.00006
110
78.47982
0.00002 0.00001 0.00002
120
78.47994
0.00001 0.00000 0.00001

i(j,4)

0.18107
-0.04794

ea %

8789.41166
8784.88084

-0.05158

V(ti-1)
V(ti-2)
V'(ti)
78.47997599 78.47997444
78.4799728 2.99681E-06

unge-Kutta method
k4
0.42152
0.12960
0.03985
0.01225
0.00377
0.00116
0.00036
0.00011
0.00003
0.00001
0.00000
0.00000
0.00000

yi+1
54.35098
71.06142
76.19913
77.77874
78.26439
78.41371
78.45962
78.47373
78.47807
78.47941
78.47982
78.47994
78.47998

You might also like