183_notes:modeling_with_vpython

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
183_notes:modeling_with_vpython [2022/11/14 15:49] valen176183_notes:modeling_with_vpython [2022/12/01 19:39] (current) valen176
Line 7: Line 7:
 ==== Lecture Video ==== ==== Lecture Video ====
  
-{{youtube>7gKIQEtT7x4?large}}+{{youtube>vzof--LEJw4?large}}
  
  
Line 22: Line 22:
     * [[183_notes:displacement_and_velocity#predicting_the_motion_of_objects|Update the position using this new momentum (velocity).]]      * [[183_notes:displacement_and_velocity#predicting_the_motion_of_objects|Update the position using this new momentum (velocity).]] 
  
-Note that in this example, the cart was moving at constant velocity, so we didn't need to do much of the final step above. In future weeks, there will be examples of how to use Glowscript to model motion when there is net force.+Note that in this example, the cart was moving at constant velocity, so we didn't need to do much step above. In future weeks, there will be examples of how to use Glowscript to model motion when there is nonzero net force.
  
 <code python videoexample.py> <code python videoexample.py>
Line 46: Line 46:
     t = t + dt     t = t + dt
 print('t = ', t, 's') print('t = ', t, 's')
-     
 </code> </code>
  • 183_notes/modeling_with_vpython.1668440942.txt.gz
  • Last modified: 2022/11/14 15:49
  • by valen176