Expressions of elastic and inelastic collisions in one dimension in a way which is easy to lern
where m1 and m2 are the masses of the body
vi1 and vi2 is the initial velocity of the two masses respectively.
vf1 and vf2 is the final velocity of the masses after collision.
in elastic collision,both the bodies stick togather and their final velocity is: