A 0.40 kg object is attached to a spring with force constant 157 N/m so that the object is allowed to move on a horizontal frictionless surface. The object is released from rest when the spring is compressed 0.17 m.
(a) Find the force on the object.
(b) Find its acceleration at that instant.