a mass on a spring, moving with simple harmonic motion, vibrates with a frequency of 4.0 hz and an amplitude of 8.0 cm. if x = 8.0 cm when t = 0, find its speed when t = 3 s.