# A spring with a constant of #4 (kg)/s^2# is lying on the ground with one end attached to a wall. An object with a mass of #6 kg# and speed of #9 m/s# collides with and compresses the spring until it stops moving. How much will the spring compress?

##### 1 Answer

#### Answer:

#### Explanation:

As you have already noted, this question is about the conservation of energy.

All of the kinetic energy of the object will turn into elastic potential energy in the spring.

Since a spring constant with units

This means that the force required to stretch/compress the spring is proportional to how far the spring is already stretched/compressed.

Mathematically, we write,

#F_{"spring"} = -kx#

The negative sign arises from the fact that the springs always wants to restore itself to its equilibrium length, and therefore, the force will always oppose the spring's displacement.

The potential energy of such a spring,

#U = -int F _{"spring"} * dx = 1/2 kx^2#

So initially, the kinetic energy of the object ,

#"KE" = 1/2 m v^2#

#= 1/2 * (6 "kg") * (9 "m/s")^2#

# = 243 "J"#

This means that the amount of energy stored in the spring in the end is

#1/2 k x^2 = 243 "J"#

#1/2 (4 "kgs"^{-2}) x^2 = 243 "J"#

#x = +- 11.0 "m"#