In this lecture, I model a horizontal spring system in VPython in three ways: without friction, with viscous friction, and with sliding friction.
I discuss a common coding pitfall, the size of the time step. I also interpret the physics of our model and the resulting energy graphs.
Watch video Using VPython to model the damped harmonic oscillator online without registration, duration hours minute second in high quality. This video was added by user Tonya Coffey 04 November 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 1,75 once and liked it 2 people.