3. A 0.50 kg mass is attached to a spring of spring constant 20 N/m along a horizontal, frictionless surface. The object oscillates in simple harmonic motion and has an amplitude of 0.040 m.
A) Find the potential energy stored in the spring when the mass is at its maximum displacement.
B) What is the speed of the mass when it is passing through the equilibrium position?