Please wait for the animation to completely load.
Enter a value for the magnitude of the driving force and its frequency, the spring constant of the restoring force, or check the "show velocity" box, then press the "set parameters, then drag the ball" button. When you have done this, drag the ball into position and press "play" to run the animation (position is given in meters and time is given in seconds). Restart. When you get a good-looking graph, right-click on it to clone the graph and resize it for a better view.
Set the restoring force to -2*y and the initial displacement from equilibrium to 0 m. Also set the magnitude of the driving force to -1 N. Vary the driving frequency between 0.10 Hz and 0.20 Hz in 0.01-Hz steps. You may want each animation to run a while before determining the maximum amplitude.
Note that the mass is not allowed to oscillate past about 22 m.