A mass \( m \) is connected to a massless spring of spring constant \( k \), which is fixed to a wall. Another mass \( 2m \), having kinetic energy \( E \), collides collinearly with the mass \( m \) completely inelastically (see figure). The entire setup is placed on a frictionless floor. The maximum compression of the spring is: 
In a scattering experiment, a particle of mass $ 2m $ collides with another particle of mass $ m $, which is initially at rest. Assuming the collision to be perfectly elastic, the maximum angular deviation $ \theta $ of the heavier particle, as shown in the figure, in radians is: 

