Suppose a 0.74-kg mass on a spring that has been compressed 0.100 m has elastic potential energy of 1.20 J. What is the spring constant?

2 answers

Do I use 0.100m as x in the equation PE=1/2 kx^2??
Thats all I am confused about.

Thanks!
Nevermind I was correct, no need to answer this question.