A mass sitting on a horizontal, frictionless surface is attached to one end of a spring; the other end is fixed to a wall. 3.0J of work is required to compress to spring by 0.12m. If the mass experiences a maximum acceleration of 15 m/s^2. Find the value of
(a) the spring stiffness constant and
(b) the mass.