Document Type

Instructional Material

Publication Date



This unit is designed to be taught at the end of a first-year physics class (such as AP Physics 1) and assumes general knowledge of mechanics. Alternatively, it can serve as an introductory unit for a second-year physics elective course in computational physics. Students learn to read, modify, and create simulations of physical systems using Visual Python (VPython) via the free online resource Glowscript. They learn the basics of VPython through analyzing and modifying code provided by the instructor to accomplish novel tasks. Students use simulations to explore systems that are too complex to solve with algebraic pencil and paper methods. Some systems examined are: harmonic oscillators with friction, three-body gravitational interactions, and freefall with air drag. Students learn to create and modify their own simulations to conduct controlled investigations and solve problems. For the final performance task, students create a simulation for a system of their choice, devise a scientific question, and then conduct a controlled experiment with their simulation to answer their question.

Creative Commons License

Creative Commons License
This work is licensed under a Creative Commons Attribution-Noncommercial-Share Alike 3.0 License.