restrepo / spring Goto Github PK
View Code? Open in Web Editor NEWThe program models the motion of weight attached to a spring after the weight is pulled (stretching the spring) and released. Friction is ignored in this model so once started the system never stops oscillating back and forth. From http://vpython.erikthompson.com/code/vpython09.txt