Vous êtes sur la page 1sur 2

Given,

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

Analytical solution of the equation using the formula


v(t ) 51.6938 tanh( 0.18977t )

v (12) 51.6938 tanh( 0.18977 12)


v (12) 50.6175 m / s

Velocity of the jumper for t=12 s with a step size of ti=1 s


From Eulers formula
v 0 0 [9.81

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

Continue these calculations to get v12.


v12 51.2008 m/s

Repeat the same calculations with a step size of ti=0.5 s


v0 0 [9.81

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

Continue these calculations to get v12.


v12 50.9259 m/s

Repeat the same steps for ti=2s to get


v12 51.6008 m/s

Calculate the absolute relative error using the formula


absolute relative error

analytical numerical
100 %
analytical

Substitute the value of v12 for step size t=1 s


50.6175 51.2008
100 %
50.6175
absolute relative error 1.15 %
absolute relative error

Substitute the value of v12 for step size t=0.5 s


50.6175 50.9259
100 %
50.6175
absolute relative error 0.61 %
absolute relative error

Substitute the value of v12 for step size t=2 s


50.6175 51.6008
100 %
50.6175
absolute relative error 1.94 %
absolute relative error

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)

Vous aimerez peut-être aussi