The bob A of a simple pendulum is released when the string makes an angle of with the vertical. It hits another bob B of the same material and same mass kept at rest on the table. If the collision is elastic
Due to the same mass of A and B as well as due to elastic collision velocities of spheres get interchanged after the collision.