Problem: You run into Galileo outside, and he's going to climb the Leaning Tower of Pisa with two balls.
One ball is heavy and the other is light, and he says he wants to prove that both balls would reach the
ground at the same time. You tell him, in fact, he doesn't need to work hard in this way, and you will
show him some simulations. You then bring him to a cafe for a drink, and then you open your laptop and
run your program.
Two balls of different colors appear on your screen, and their initial positions are at the same height. For
example, one ball's initial position is at (-5, 25) and the other is at (5, 25). Their weights differ by a
hundred times. For example, the heavy ball is 10 kg, while the light ball is only 0.1 kg. They're of the
same size, because you're going to assume they experience the same drag force later.
You make two simulations for Galileo. The first simulation ignores the resistance of the air, and it
demonstrates that the two balls of different masses reach the ground at the same time. The second
simulation considers the resistance of the air. For the sake of simplicity, you assume they experience the
same drag, since they are of the same size, shape and smoothness, the only difference is the mass. In the
second simulation, you apply a small drag force to both balls. The Simulation shows that the heavier ball
reaches the ground first.
Note: You don't have to use the same numerical values as given above, but you must place the two balls
at the same height level initially and color them apparently differently. You don't have to show the
coordinate grid for reference. It's better set the bouncing ratio to zero so when a ball hits the ground it
stops. The drag force for the two balls is set the same, and you decide how strong it is.