The maximum compression of the spring is 0.146 m.
The work done by the block when it slides down the ramp will be converted to elastic potential energy of the spring.
W = U
Fd = U
where;
mgsin(θ) x d = ¹/₂kA²
[tex]A^2 = \frac{2mg sin(\theta)d}{k} \\\\A = \sqrt{\frac{2mg sin(\theta)d}{k}} \\\\A = \sqrt{\frac{2(5 \times 9.8) sin(30)\times 1.3}{3\times 10^3}}\\\\A = 0.146 \ m[/tex]
Thus, the maximum compression of the spring is 0.146 m.
Learn more about work energy theorem here: https://brainly.com/question/22236101