Animate
A ball is attached to a horizontal spring (not shown) which causes the ball to oscillate about the origin. Run the animation. Note that values of time, position, velocity, and acceleration appear above the play buttons. When the animation stops, click on Show graph to display graphs of position, velocity, and acceleration as a function of time.