A loaded spring performs simple harmonic motion with an amplitude of 5cm. If the maximum…