Académique Documents
Professionnel Documents
Culture Documents
g= 9.8 m/s2
cd= 0.25 kg/m
m=68.1 kg
Eulers formula
v (t i 1 ) v(t i ) [ g
cd
v(t i ) 2 ](t i 1 t i )]
m
0.25 2
( 0) ] 1
68.1
v 0 9.81 m / s
v1 9.81 [9.81
0.25
(9.81) 2 ] 1
68.1
v1 19.26 m / s
0.25 2
( 0) ] 0. 5
68.1
v 0 4 .9 m / s
v0.5 4.9 [9.81
0.25
( 4 .9 ) 2 ] 0 .5
68.1
v0.5 9.8 m / s
analytical numerical
100 %
analytical
Thus it is seen that the relative error gets reduced by almost half when step
size is decreased.
Plot the step size versus the error by typing on Matlab console
t=[0.5,1,2]
e=[0.61,1.15,1.94]
plot(t,e)