The maximum compression of the spring is 0.6 m.
The spring constant of the spring is calculated as follows;
F = kx
k = F/x
k = (5)/(0.1)
k = 50 N/m
The maximum compression of the spring is calculated as follows;
U = K.E
¹/₂kx² = ¹/₂mv²
x² = (mv²)/(k)
x = √(mv²)/(k)
x = √(4.5 x 2²)/(50)
x = 0.6 m
Thus, the maximum compression of the spring is 0.6 m.
Learn more about spring constant here: https://brainly.com/question/1968517