When a particle of mass m is attached to a vertical spring of spring constant k and released