The height upto which the spring is compressed will be 0.306 m.
When a spring is stretched or compressed, work is done. In the spring, elastic potential energy is stored.
The work done is equal to the elastic potential energy stored, assuming no inelastic deformation has occurred.
The potential energy of the spring is equal to the work done on the spring;
Potential energy = Work done
[tex]\rm mgh= \frac{1}{2} Kx^2 \\\\ 4 \times 9.81 \times h = \frac{1}{2} \times 600 \times 0.2^2 \\\\\ h=0.306 \ m[/tex]
Hence,the height upto which the spring is compressed will be 0.306 m.
To learn more about the elastic potential energy refer to;
https://brainly.com/question/156316
#SPJ4