Answer:
91 cm
Step-by-step explanation:
mass, m = 4 kg
velocity, v = 2.5 m/s
spring constant, K = 30 N/m
Let the compression in spring is y.
The kinetic energy of the block is converted into elastic potential energy of the spring.
1/2 mv² = 1/2 Ky²
4 x 2.5 x 2.5 = 30 x y²
y = 0.91 m = 91 cm
Thus, the maximum compression in the spring is 91 cm.