Two masses m1 and m2 are connected by a spring of spring constant k and are placed on a friction less 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 masses before they again come to rest.
Mass of the two blocks are m1,m2
Initially the spring is stretched by x0 with spring constant K.
For the block to come to rest again,
let the distance travelled by m1 and m2 be x1 and x2 towards right and left respectively.
As no external force acts in horizontal direction, m1x1=m2x2 ....(i)
Again,the energy would be conserved in the spring.
⇒ (12)k×x20=(12)k(x1+x2−x0)2
⇒ x0=x1+x2−x0
⇒ x1+x2=2x0 ...(ii)
x1=2x0−x2
Similarly x1=(2m2m1+m2)x0
⇒ m1(2x0−x0)=m2x2
⇒ 2m1x0−m1x2=m2x2
⇒ x2=2m2m1+m2x0