Question
Two masses m1 and m2 are connected by a spring of spring constant k and are placed on a frictionless horizontal surface. Initially the spring is stretched through a distance x0 when the system is released from rest. Find the distance moved by the two massed before they again come to rest.