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

1 visualizzazione (ultimi 30 giorni)
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

Risposte (1)

Roger Stafford
Roger Stafford il 6 Ott 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 Commento
AngelsaAtWar
AngelsaAtWar il 6 Ott 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

Accedi per commentare.

Categorie

Scopri di più su Programming in Help Center e File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by