A spring is compressed between two blocks of masses $m_{1}$ and $m_{2}$ placed on a horizontal frictionless surface as shown in the figure. When the blocks are released, they have initial velocity of $v_{1}$ and $v_{2}$ as shown. The blocks travel distances $x_{1}$ and $x_{2}$ respectively before coming to rest. The ratio $\left(\frac{x_{1}}{x_{2}}\right)$ is
(1) $\frac{m_{2}}{m_{1}}$
(2) $\frac{m_{1}}{m_{2}}$
(3) $\sqrt{\frac{m_{2}}{m_{1}}}$
(4) $\sqrt{\frac{m_{1}}{m_{2}}}$
A spring is compressed between two blocks of masses $m_{1}$ and $m_{2}$ placed on a horizontal frictionless surface as shown in the figure. When the blocks are released, they have initial velocity of $v_{1}$ and $v_{2}$ as shown. The blocks travel distances $x_{1}$ and $x_{2}$ respectively before coming to rest. The ratio $\left(\frac{x_{1}}{x_{2}}\right)$ is\\
(1) $\frac{m_{2}}{m_{1}}$\\
(2) $\frac{m_{1}}{m_{2}}$\\
(3) $\sqrt{\frac{m_{2}}{m_{1}}}$\\
(4) $\sqrt{\frac{m_{1}}{m_{2}}}$