Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
183_notes:modeling_with_vpython [2022/11/14 15:49] – valen176 | 183_notes:modeling_with_vpython [2022/12/01 19:39] (current) – valen176 | ||
---|---|---|---|
Line 7: | Line 7: | ||
==== Lecture Video ==== | ==== Lecture Video ==== | ||
- | {{youtube> | + | {{youtube> |
Line 22: | Line 22: | ||
* [[183_notes: | * [[183_notes: | ||
- | 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 4 above. In future weeks, there will be examples of how to use Glowscript to model motion when there is nonzero |
<code python videoexample.py> | <code python videoexample.py> | ||
Line 46: | Line 46: | ||
t = t + dt | t = t + dt | ||
print(' | print(' | ||
- | | ||
</ | </ |