A mass resting on a horizontal, frictionless surface is attached to one end of a spring; the other end is fixed to a wall. It takes 3.6 J of work to compress the spring by 0.13 m. If the spring is compressed, and the mass is released from rest, it experiences a maximum acceleration of Find the value of (a) the spring constant and (b) the mass.