Bouncing ball simulation
Bouncing Ball Simulation
"Philosophy [nature] is written in that great book whichever is before our eyes -- I mean the universe -- but we cannot understand it if we do not first learn the language and grasp the symbols in which it is written."
-Galileo Galilei
image courtesy of Professor Andrew Davidhazy, Rochester Institute of Technology
Bouncing ball in real life seems to be a simple phenomenon. The physics of a bouncing ball deal with the physical behavior of bouncing balls, particularly its motion before, during, and after impact against the surface of another body. Several aspects of a bouncing ball's behavior can be introduced in high school or undergraduate level physics courses. However, the exact modeling of the behavior is complex. The motion of a ball is generally described by projectile motion (which can be affected by gravity, drag, the Magnus effect, and buoyancy). At the same time, its impact is usually characterized through the coefficient of restitution (which can be affected by the nature of the ball, the nature of the impacting surface, the impact velocity, rotation, and local conditions such as temperature and pressure). The following program is characterized by the coefficient of restitution, initial velocity, and mass. Other physical characteristics like the Magnus effect, newton drag, buoyancy, rotation, and temperature because including make this system complex. This program will simulate the bouncing ball which should not be taken into scale. The parameters are not calculated numerically but an extensive graphical representation is provided which describes a beautiful pattern of a bouncing ball. Three different plots have been developed - Energy(PE, TE, KE) vs Time, Velocity vs time, and Position vs time. Each plot represents a unique pattern to study and understand the phenomenon in a graphical way. A video of the output is provided along with the snapshots of the output. In this program the Coff. of restitution plays an important role. For more information on Coff. of restitution refer to the following Wikipedia page.
https://en.wikipedia.org/wiki/Coefficient_of_restitution
https://en.wikipedia.org/wiki/Bouncing_ball
SOURCE CODE
OUTPUT
<CLICK ON THE VIDEO SEVERAL TIMES. IT TAKES TIME TO LOAD>
OUTPUT OF THE SIMULATION FOR DIFFERENT INPUT VALUES
Hope this is useful to you.
To know more and discuss follow the following link https://github.com/JohnpaulJ1509 https://www.instagram.com/phy.sci/?hl=en.



Comments
Post a Comment