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/18 04:22] gibson |
gibson:teaching:summer-2017:techcamp [2017/07/18 09:07] (current) gibson [Computer simulation of baseball physics] |
||
|---|---|---|---|
| Line 4: | Line 4: | ||
| Tuesday, July 18, 1-3:30pm, Kingsbury W114 | Tuesday, July 18, 1-3:30pm, Kingsbury W114 | ||
| - | Descriptions of mathematics and computer codes for simulating the flight of a baseball | ||
| - | * [[gibson:teaching:summer-2017:techcamp:numerical-baseball | Simulating the flight of a baseball]] | ||
| - | * [[gibson:teaching:summer-2017:techcamp:computer-homerun | Hitting a home run]] | ||
| + | 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 | ||
| - | Matlab files for you to download and run on the computer | + | 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]] | ||
| + | |||
| + | |||
| + | |||
| + | 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 16: | Line 29: | ||
| - | Julia versions | + | |
| + | 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]] | * [[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]] | * [[http://nbviewer.jupyter.org/url/www.channelflow.org/techcamp-2017/2-Computer-homerun.ipynb|Computer home run, Julia notebook]] | ||