A collision is said to be elastic if the total kinetic energy before and after the collision is the same. In other words, kinetic energy is conserved. The mass is called the projectile and mass is called the target. A one dimensional collision is also called a headon collision.
Script by Dr. Mohamed S. Kariapper using Physlets from 
Here there are two situations:
