Please see the attached file.
A weight of mass m is hung from the end of a spring which provides a restoring force equal to k times its extension. The weight is released from rest with the spring unextended. Find its position as a function of time, assuming negligible damping.© BrainMass Inc. brainmass.com December 20, 2018, 2:01 am ad1c9bdddf
It finds the oscillation equation of the mass hung by a spring. The solution is detailed and well presented.