Follow this link for the activity and the instructions: link

You should see something that looks like this:

 trinket screenshot

If you click on the “Instructions” tab in the upper right, a set of instructions for the activity should pop up. Click between “Instructions” and “Result” to alternately view the instructions and the animation. If you prefer, the same instructions are also listed below.

1. Run the code (click “Run”) and see what happens! You should see a satellite shooting off into space, completely unaffected by gravity.

2. Read the code, and try to understand how each line is impacting the animation. If you're not sure, try changing the line, and see what happens. Keep track of what you find by writing comments. (Use the # character.)

3. Try using your physics knowledge to fix the code so that gravitational force is being applied correctly.

4. Extra: Uncomment (take away the # characters) from the chunks of code marked 'Extra'. Try to fix the graphs so that they correctly display the energy of the satellite. Try to add another curve to the graph that tracks the satellite's total energy.

5. Extra Extra: Uncomment from the chunks of code marked 'Extra Extra'. Try to use it to help you create a net force arrow that updates as the satellite moves. Now you have a living, changing, free-body diagram! Try to add another arrow that models the updating satellite momentum.

For more information on glowscript tools, check out: https://www.glowscript.org/docs/GlowScriptDocs/index.html

  • summer_2019/gravitation_trinket.txt
  • Last modified: 2019/07/31 23:05
  • by wellerd