Question: * * Microsoft Visual Studio is the program used. The final product should be videos in a window. * * the attached code is the

**Microsoft Visual Studio is the program used. The final product should be videos in a window.
** the attached code is the main function, not sure if it must be followed but would be best.
-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 take 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 10kg,while the light ball is only 0.1kg.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 do not 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. Also, you do not have to show the
coordinate grid for reference. Its better to 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.
-Submission requirements
Create a video clip of no more than one minute to demonstrate the two simulations
* * Microsoft Visual Studio is the program used.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!