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

2 Ansichten (letzte 30 Tage)
AngelsaAtWar
AngelsaAtWar am 6 Okt. 2013
Kommentiert: AngelsaAtWar am 6 Okt. 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

Antworten (1)

Roger Stafford
Roger Stafford am 6 Okt. 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 Kommentar
AngelsaAtWar
AngelsaAtWar am 6 Okt. 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

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Programming finden Sie in Help Center und File Exchange

Community Treasure Hunt

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

Start Hunting!

Translated by