A weight suspended from a spring is seen to bob up and down over a distance of 28 cm twice each second. Find the frequency.