WOLFRAM SYSTEM MODELER
BouncingBalls1DBouncing ball in 1D |
SystemModel["EducationExamples.Physics.BouncingBalls.BouncingBalls1D"]
A ball is dropped from a given height h, dropping onto a hard surface, and bouncing back according to the restitution coefficient e. This example shows the event handling capabilities of System Modeler.
Simulate with a large number of different initial heights h the ball is dropped from and show the bounces of the ball.
Varying the coefficient of restitution or the gravity shows different behavior.
Also see the balls bouncing in a 2D space in BouncingBalls2D.
In order to get the full experience of this example, you need a desktop Wolfram Language product. A free trial download is available at www.wolfram.com/mathematica/trial/
For the full example, open the accompanying notebook BouncingBalls.nb.
e |
Value: 0.7 Type: Real Description: coefficient of restitution |
---|---|
g |
Value: 9.81 Type: Real Description: gravity acceleration |