Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Widget Connector
width600
urlhttps://www.youtube.com/watch?v=OaGJsamM8rw
height370


Our script saves only the final location of the mass. We are also interested in saving the intermediate locations so that we can make a plot of position vs. time. We do this by creating arrays for the position and time as shown in the video below.

Widget Connector
width600
urlhttps://www.youtube.com/watch?v=8g4kSDT8SZo
height370