Answer:
The block's speed as it slides horizontally is 3.11 m/s, approximately. As going up on the ramp, it reaches a 0.49 m height before turning back.
Step-by-step explanation:
As the spring is compressed, it stores elastic potential energy
,
as soon as it's released, assuming no loss in the transfer, all the energy is transfered to the block, which adquires kinetic energy
.
From this last one, we can write for the block's velocity

Last, when the block reaches the ramp, as it goes up, all its kinetic energy becomes gravitational potential energy, i.e.,
