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

1 回表示 (過去 30 日間)
AngelsaAtWar
AngelsaAtWar 2013 年 10 月 6 日
コメント済み: AngelsaAtWar 2013 年 10 月 6 日
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

回答 (1 件)

Roger Stafford
Roger Stafford 2013 年 10 月 6 日
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 件のコメント
AngelsaAtWar
AngelsaAtWar 2013 年 10 月 6 日
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

サインインしてコメントする。

カテゴリ

Help Center および File ExchangeProgramming についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by