The variation of the compression of a spring with the force applied to it is 5 cm per 10 N. A block slides along a horizontal frictionless surface towards the spring, as shown below.
The block is brought to rest by the spring. When the spring reaches a compression of 4.0 cm, all of the kinetic energy of the block is transferred to the elastic potential energy of the spring. What is the kinetic energy of the block when it first makes contact with the spring?
spring
block