====== Differences ====== This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
gibson:teaching:summer-2017:techcamp [2017/07/17 20:02] gibson |
gibson:teaching:summer-2017:techcamp [2017/07/18 09:07] (current) gibson [Computer simulation of baseball physics] |
||
---|---|---|---|
Line 1: | Line 1: | ||
====== Tech Camp 2017 ====== | ====== Tech Camp 2017 ====== | ||
+ | ===== Computer simulation of baseball physics ===== | ||
+ | Tuesday, July 18, 1-3:30pm, Kingsbury W114 | ||
- | [[gibson:teaching:summer-2017:techcamp:numerical-baseball | Simulating the flight of a baseball]] | + | Good afternoon, campers! In this session we'll be |
+ | * talking about the physics of projectiles, e.g. a baseball in flight, | ||
+ | * looking at the equations of motion of projectiles, with and without turbulent air resistance | ||
+ | * using numerical simulation methods to solve those equations | ||
+ | * plotting the results and figuring out the minimum speed and optimum angle to hit a home run | ||
+ | * comparing what happens at Fenway to what happens in Denver | ||
+ | You'll need to | ||
+ | * make a new folder on your computer: ''C:\Users\guestmech\techcamp-2017'' | ||
+ | * download some Matlab files (below) and put them in that folder | ||
+ | * start Matlab from the application menu | ||
+ | * open up that folder in Matlab, either from the menu or by typing ''cd C:\Users\guestmech\techcamp-2017'' at the command prompt | ||
+ | * click on [[gibson:teaching:summer-2017:techcamp:numerical-baseball | Simulating the flight of a baseball]] | ||
+ | * and then [[gibson:teaching:summer-2017:techcamp:computer-homerun | Hitting a home run]] | ||
- | [[gibson:teaching:summer-2017:techcamp:computer-homerun | Hitting a home run]] | ||
- | Matlab files: | + | Matlab files for you to download and run on the computer. |
* {{ :gibson:teaching:summer-2017:f_nodrag.m}} | * {{ :gibson:teaching:summer-2017:f_nodrag.m}} | ||
* {{ :gibson:teaching:summer-2017:f_withdrag.m}} | * {{ :gibson:teaching:summer-2017:f_withdrag.m}} | ||
Line 17: | Line 30: | ||
- | + | Same things as interactive notebooks in the Julia programming language | |
- | + | * [[http://nbviewer.jupyter.org/url/www.channelflow.org/techcamp-2017/1-Numerical-baseball.ipynb|Numerical baseball, Julia notebook]] | |
- | === Julia versions === | + | * [[http://nbviewer.jupyter.org/url/www.channelflow.org/techcamp-2017/2-Computer-homerun.ipynb|Computer home run, Julia notebook]] |
- | [[http://nbviewer.jupyter.org/url/www.channelflow.org/techcamp-2017/1-Numerical-baseball.ipynb|Numerical baseball, Julia notebook]] | + | |
- | + | ||
- | [[http://nbviewer.jupyter.org/url/www.channelflow.org/techcamp-2017/2-Computer-homerun.ipynb|Computer home run, Julia notebook]] | + |