Day 19 - Tuesday, June 3, 2014

Summary: Symbolic Analysis with SymPy


Brian Granger is preparing a tour and exercises for them to learn about the symbolic analysis capabilities available with the SymPy package.


0. Course evaluations will be conducted at the start of class. Students will be asked to log on to http://sail.calpoly.edu and complete the evaluations. If we get >90% participation, I will bring treats to the final exam demos.

1. Open terminal, create a SymPy directory, practice workflow:

$ cd PHYS202-S14
$ git pull origin master
$ git status
$ mkdir SymPy
$ ipynb

2. Navigate to the SymPy directory and create a new notebook called SymPyTour with title cell (Heading 1) Symbolic Analysis with SymPy.

3. Open the "SymPy" webpage on PolyLearn in one Browser Window. Follow the self-guided tour, entering code into your SymPyTour 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 "SymPy Exercises" page on PolyLearn and start working on them. They will be due as HW by Wednesday, June 4, 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.