form a formula to calculate the time between bounces of a ball

1 visualización (últimos 30 días)
AngelsaAtWar
AngelsaAtWar el 6 de Oct. de 2013
Comentada: AngelsaAtWar el 6 de Oct. de 2013
find the time between the first 8 bounces of a bouncing ball
n= 1:8
h=2
g= 9.81
vimpact= sqrt( 2*g*h)
vrebound= .85.*vimpact
tbetweenbounces= vimpact/g
and set the first bounce to t=0
can someone help me form a formula to calculate the time between bounces by using the element-to element method

Respuestas (1)

Roger Stafford
Roger Stafford el 6 de Oct. de 2013
Is this homework? You need to work the problem in two stages. First determine the velocity of the first impact from a drop of (presumably) two feet and then the velocity of the first rebound. Next you need to find a formula for the time in terms of the rebound velocity during each bounce. The one you give looks incorrect to me. Use a for-loop to go repeatedly through the first eight bounces calculating the time elapsed during each.
  1 comentario
AngelsaAtWar
AngelsaAtWar el 6 de Oct. de 2013
for n= 1:8
if n<2;
t=0
else
t= vimpact/g
vimpact= vimpact + vrebound;
end
end
This is what I had produced for the for loop

Iniciar sesión para comentar.

Categorías

Más información sobre Programming en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by