Day 15 - Tuesday, May 20, 2014

Summary: Monte-Carlo Integration


This tour was posted on PolyLearn late on May 19, so some students may have been able to complete it before class, but not all.


1. Open terminal, practice workflow:

$ cd PHYS202-S14
$ git pull origin master
$ git status
$ MCIntegration
$ ipynb

2. Navigate to the MCIntegration directory and create a new notebook called MCIntegrationTour with title cell (Heading 1) Monte-Carlo Integration Tour.

3. Open the "Monte Carlo Integration" webpage on PolyLearn in one Browser Window. Follow the self-guided tour, entering code into your MCIntegrationTour notebook as you go. Add markdown cells with your notes, if you like.

No copy/paste!

Type the commands yourself to get the practice doing it. This will also slow you down so you can think about the commands and what they are doing as you type them.

4. At the end of the self-guided tour open the "MC Integration Exercises" page on PolyLearn and start working on them. They will be due as HW by Wednesday, May 28, 2014 at 11:59pm.

5. Before leaving, save your work in the notebook, then practice your workflow:

$ git status
$ git add .
$ git commit -m "<summary message goes here>"
$ git push origin master
$ git status

Check github to be sure the work got there so you have it for the weekend.


All content is under a modified MIT License, and can be freely used and adapted. See the full license text here.