Bouncing ball model with Newtonian gravity and explicit energy
constraints.