Answer:
Maximum compression= 0.25 m
Final velocities= 5 m/s
Step-by-step explanation:
From the law of conservation of momentum
m1v1 + m2v2=(m1+m2)Vc where m1 is mass of block 1, m2 is mass of block 2, v1 is velocity of block 1, v2 is velocity of block 2, vc is the common velocity of the two blocks.
Substituting 2Kg for m1, 5kg for m2, 10m/s for v1, 3m/s for v2 we obtain
2Kg*10m/s + 5kg*3m/s=(2+5)Vc
7Vc=20+15
7Vc=35
Vc=35/7=5m/s
From law of conservation of energy
Final energy-Initial energy+Energy stored in spring=0
where x represent compression of spring
![0.5*1120x^(2)+0.5(2+5)*5^(2)-0.5(2*10^(2))-0.5(5*3^(2))=0](https://img.qammunity.org/2020/formulas/physics/college/k6x6i0o05tm00l3sur55vfg38jp52whey2.png)
![560x^(2)+87.5-100-22.5=0](https://img.qammunity.org/2020/formulas/physics/college/dsdnbbi1436tyur6mb8b1okbrxxo22h2e3.png)
![560x^(2)-35=0](https://img.qammunity.org/2020/formulas/physics/college/2zmkolx342spk3am174byunur5anqlf4e5.png)
![560x^(2)=35](https://img.qammunity.org/2020/formulas/physics/college/ig6d8mdp2tsxt6xcorpog2jripopuegdhm.png)
![X^(2)=35/560=0.0625](https://img.qammunity.org/2020/formulas/physics/college/j4f444eafspeyge27gliz28gwwuzj9sxgq.png)
=0.25 m