Spring 2021: Python in Math 152
Overview
- Problems will be posted below. The first week will consist of an introduction to/review of the basics of symbolic Python; content from then on will come from previous course material.
- Students will work together in their assigned teams during lab to complete as many of the problems as possible. All unfinished problems must be completed before the start of the next computer lab. Due to redefined days throughout the semester, some lab instruction and work may have to be done outside of class.
- You will use a Jupyter Notebook as your Python interface. Jupyter is available for free from the Anaconda website (see "Accessing Python" below for details.If you are uploading your work to GradeScope, use the template file provided for each lab for consistency and ease of uploading. If not, you do not have to run each problem in one block of code, but problems should be separated by explanatory text (change "Code" to "Markdown" in the appropriate drop-down menu, then press Shift-Enter when you are done. Alternatively, use comment lines in your code.)
- When you have finished, convert your notebook to PDF using the following steps:
- Select "File/Print Preview"
- Print the resulting screen (Ctrl-P) and select "Save as PDF" as the printer.
Team members' names should be entered at the beginning of the file (see the templates for more details).
- Once your PDF is created, ONE team member should upload it to the place in GradeScope, eCampus, or Canvas as specified by your TA.
- Do any hand/setup work on scratch paper, which will not be submitted. All computational aspects of each problem must be done in Python unless otherwise specified in the problem.
- Attendance in lab is strongly encouraged, as you are able to get help from each other and from the TA during that time.
- Teams who prefer to use a different interface, such as PyCharm or Spyder, may do so, but it is their responsibility to create ONE PDF containing all commands, output and graphs.
Assignments
(will be posted below before lab each week)
Course Overview (discussed Jan 19 or 25)
Lab 1: Problems Template (Should automatically download. If not, right-click link and select "Save As". Then open in Jupyter. Assigned Jan 25-26, due Feb 1-2)
Overview of Useful Commands
Lab 2: Problems Template
(assigned Feb 1-2, due Feb 8-9)
Overview of Useful Commands
Lab 3: Problems Template
(assigned Feb 8-9, due SUNDAY Feb 28)
Overview of Useful Commands
Lab 4: Problems Template
(assigned Mar 1-2, due Mar 8-9)
Overview of Useful Commands
Lab 5: Problems Template
(assigned Mar 8-9, due Mar 15-16)
Overview of Useful Commands
Lab 6: Problems Template
(assigned Mar 15-16, due Mar 22-23)
Overview of Useful Commands
Lab 7: Problems Template
(assigned Mar 29-30, due Apr 5-6)
Overview of Useful Commands
Lab 8: Problems Template
(assigned Apr 5-6, due Apr 12-13)
Overview of Useful Commands
Lab 9: Problems Template
(assigned Apr 12-13, due Apr 19-20)
(No Overview as there are no new concepts in this week's lab)
Schedule
There will be an assignment each week except for Week 1 and exam weeks
(Mac users-if you are getting a .txt extension when you save the Lab Templates, try using this strategy to fix it!
Accessing Python
- All Open Access Lab computers have Jupyter and Python installed on their devices. If you need to transfer files to/from your university account, use a flash drive, cloud storage, email, or FileZilla.
- If you do not have Python installed on your device, it is free. Details on how to download are available HERE AND in greater detail at the Course Overview above.
Helpful Resources
Last updated by djm on Mon, 10/Aug/2020 at 10:15am CDT