Tuesday, July 19, 2011

Bouncing Ball in a Cavity

Here's a quick, fun problem I just thought up. Suppose you have a rectangular cavity like the one I've drawn below. A ball is fired vertically across the cavity with initial velocity $V_0$. When it hits the wall, its direction is reversed and it bounces back the other way. Suppose that at each bounce, its x-velocity is decreased by $\alpha$. How many bounces will the ball make during the trip?



I decided to do this problem with only the x-velocity changing on bounces since it gets pretty complicated if both x and y (or kinetic energy, say) is changing, but it should be doable in principle either way. To start off, let's calculate the time it takes the ball to hit the ground.

$h = \frac{1}{2}gt^2$
$t = \sqrt{\frac{2h}{g}$

Easy enough. Now what about the velocity in the x direction? Well, for the first pass, we have:

$L = V_0 t_0$

But the next pass takes longer...

$L = V_0 \alpha t_1$

If we add up all of the times that it travels along x, we should get the total y time...

$\sqrt{\frac{2h}{g}} = \frac{L}{V_0} + \frac{L}{V_0\alpha} + \frac{L}{V_0\alpha^2} + \ldots$

Let's define $\phi = \frac{\sqrt{\frac{2h}{g}}}{\frac{L}{V_0}}$. This is the ratio of the total travel time to the single pass time. If $\alpha$ were equal to zero, this value alone would give us the number of passes N. As it is, we've still got some more work to do:

$\phi = \Sigma_{i=0}^{N-1} \alpha^{-i}$

This is a geometric series and can be computed analytically:

$\phi = \frac{\alpha^{-N} - 1}{\alpha^{-1}-1}$

Rearrange a bit:

$\phi (\alpha^{-1}-1) + 1 = \alpha^{-N}$

And finally

$N = \frac{\ln \big( \phi (\alpha^{-1} - 1) \big)}{\ln (\alpha^{-1})}$



Here's some graphs of N vs $\phi$ for different values of $\alpha$. Intuitively, this is pretty much what we might expect: as $\phi$ (that is, the ratio between the total time and the single-pass time) grows, we get progressively more bounces, but the effect is moderated significantly by the energy lost per bounce. For relatively small $\alpha$ like the pink graph, we get many bounces, although we still end up with only about half as many bounces as the $\alpha = 1$ case where no energy is lost.

I'll look at the trajectories in part II

No comments:

Post a Comment