physics
posted by Anonymous .
A mass sitting on a horizontal, frictionless surface is attached to one end of a spring; the other end is fixed to a wall. 8.0 J of work is required to compress the spring by 0.17 m. If the mass is released from rest with the spring compressed, it experiences a maximum acceleration of 11 m/s2.
(a) Find the value of the spring constant.
(b) Find the value of the mass.

when compressed work=1/2 k x^2 solve for k.
Force=kx=ma solve for mass m