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

1 view (last 30 days)
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

Answers (1)

Roger Stafford
Roger Stafford on 6 Oct 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 Comment
AngelsaAtWar
AngelsaAtWar on 6 Oct 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

Sign in to comment.

Categories

Find more on Programming in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!