Plot and Compare Scenarios

Quickly simulate, plot and compare different scenarios using different parameters or initial values.

In this example of a bouncing ball, which combines continuous behavior with discrete events, the effects of varying initial height, gravity and restitution coefficient are studied.

Simulate and plot for different initial heights.

Now vary the gravity of the environment and observe the behavior.

Finally, compare how the restitution coefficient of the ball affects the result.

Related Examples

ja zh