as during oscillations of the 2 block system, dere is no xtrnal frce prsnt. thus we can state that the cente of mass of the 2 blck systm will remain at rest durin the oscillation. make d diagram and consider C as the COM of the blocks . l is the natural length of the system, then we can say that in this situation point C will remain at rest with respect to this point m1 and m2 will oscillate independently. u can also split the spring in 2 parts of lenghts l1 and l2 which r given by
l1=m2l/m1+m2
l2=m1l/m1+m2
now if these 2 springs are assumd to be fixed at point C separately, the case still reamins same as in absence of external forces COM of system C remains at rest. the respective forces are:
k1=kl/l1=k(m1+m2)
similarly for k2
now the angular frequency and time period of the oscillation can be drctly given frm that of a spring blck system with one end of the spring fixed as
W(omega)=underroot k/m
for mass m1
W=underroot k1/m1=underroot (m1+m2)k/m1m2
similarly u can write for m2
both are same thus both the blks oscillates with same angular frequency given in the above eqns
therefore time period can be given as 2pi underroot m1m2/(m1+m2)k
hence u get the time period from which u can calculate the dist. travelled....
plz do rate is satisfied...