The Camtasia Studio video content presented here requires JavaScript to be enabled and the latest version of the Macromedia Flash Player. If you are you using a browser with JavaScript disabled please enable it now. Otherwise, please update your version of the free Flash Player by downloading here.

A key issue for any simulation is how well it reflects the reality of the situation one is modelling.

This demo sprang from an analysis of a simple bouncing ball simulation. In the initial version of the program, upon careful observation it could be seen that the ball bounced succesively higher on each bounce. The next step was to put a line in place to visually show the effect. Shrinking the simulation time step reduced, but did not elimate the problem (a basic piece of simulation knowledge, there). A detailed analysis of the algorithm showed the momentum at the bounce point was being improperly reversed. The middle and right ball illustrate variations on the improved algorithm.