a mass on a spring bobs up and down over a distance of 17 cm from the top to the bottom of its path once each second. what are its period and amplitude?