change value of (u1=speed of object1 u2=speed of object2 m1=mass of object1 m2=mass of object2) mfinal=m1+m2 ufinal=the speed of both objects
In classical mechanics, linear momentum or translational momentum (pl. momenta; SI unit kg m/s, or equivalently, N s) is the product of the mass and velocity of an object. For example, a heavy truck moving rapidly has a large momentum—it takes a large or prolonged force to get the truck up to this speed, and it takes a large or prolonged force to bring it to a stop afterwards. If the truck were lighter, or moving more slowly, then it would have less momentum. source link http://en.wikipedia.org/wiki/Momentum