Extend the program by plotting the velocity in the xy-graph along with the position.
If you look at the graph it becomes obvious that the bouncing is damped. Why? Where would you have to change things, to remove the damping? One "else" is sufficient.
This page was last edited on 19 July 2019, at 17:42. Content is available under Creative Commons License SA 4.0 unless otherwise noted.