
gravity, or restitution coefficient
Model and simulate balls bouncing on the ground or in a box, taking advantage of powerful event handling in SystemModeler. Two models are used—one where a ball bounces on the ground and one where multiple balls are constrained in a two-dimensional box.
To run this example, you'll need
Please make a selection:
Get aAnalyze Many Scenarios
Simulate a bouncing ball several times for different parameters and initial values with a single command in Mathematica.
Create Custom Visualizations
Visualize bouncing balls in a constrained 2D box with custom animations and plots.
Powerful Event Handling
Event detection in Modelica allows changing of the model behavior when balls collide with a wall.
Export Dynamic Content
Distribute simulation results as an interactive notebook.
Try
Buy
System Modeler is available in English
and Japanese
on Windows, macOS & Linux »
Questions? Comments? Contact a Wolfram expert »