A body of mass 100.0g is attached to a hanging spring whose force constant is 10.0 kN/m. The body is lifted until the spring is in its unstretched state. The body is then released. Using the law of conservation of energy,

calculate the speed of the body when it strikes a table 15.0 cm below the release point.

Write an energy equation:

Kinetic energy at impact + elasticPE + graviatationPE=0
where gains in energy are positive.

1/2 mv^2 + 1/2 kx^2 +mg(-x+=0

check my thinking.