This simulation illustrates the fact that energy is conserved in any collision in an isolated system. In this simulation the two balls collide completely inelastic. Kinetic energy is conserved during the collisions. After the collision the two ball stick together and travel at the velocity.