A 50-g mass is attached to a spring and undergoes simple harmonic motion. Its maximum acceleration is 15m/s2 and its maximum speed is 3.5m/s .