* COMPUTER LABS *
Computer labs are organized in Jupyter notebooks (you can read about Jupyter here). The programming language we use is Python, version 3.x (such as 3.7, 3.6; older versions, such as Python 2.x, are significantly different). Read this first to access Jupyter notebooks.
Why are we doing python labs (slides)? And ... you will gain a valuable skill, worthy of adding to your CV!
After you learn how to open a Jupyter notebook, you will use this direct link to the Jupyter server: https://mcmaster.syzygy.ca/
No need to work on labs alone! Team up with a colleague, or with a couple of people, you can help each other.
TA for computer labs: Jasmine Mansouri mansouy@mcmaster.ca
|
|
Details |
Jan. 6 - 10 |
Getting Started
Introductory lab, not for credit |
Never done any sort of coding before? To familiarize yourself with Juypter Notebooks and to learn a little bit about the language we'll be using to code (Python 3), watch this video. Note: I made this video in one cut so feel free to skip through any awkward parts (there are plenty!) and/or pause as needed to try to do the activities on your own. Outline of topics covered in the introductory video.
Work on Introductory lab. This lab is NOT for credit, but it is important that you do it as soon as possible. The purpose of the lab is to make sure that you were able to access Jupyter notebooks, to get a first glimpse into what these notebooks look like, and to experience a few basic things (pieces of code) that Python can do.
Need help? Our computer lab TA will be available in the Math Cafe area (second floor Hamilton Hall) starting next week. Office hours will be posted here soon. |
Jan. 13 - 17 |
17 January: Lab 1 opens
Lab 1 due by 11:59pm on Monday, 27 January |
Lab 1 is about functions and modelling. You will learn more about things discussed in lectures, understand some things better, and see what Python can do (so that you don't have to!). In particular we investigate body mass index, alcohol absorption model, work with semi-log and double-log graphs, and think about inverse trig.
Download lab 1 from here (LINK WILL BE ACTIVE ON FRIDAY, JAN. 17th) onto your device (unzip if necessary) and then upload the file lab1_winter2020.ipynb into your Jupyter notebook.
Need help? Jasmine (our computer lab TA) is available in the Math Cafe area (second floor Hamilton Hall). Office hours for next week (Jan. 20-24) are: Monday: 4:30-5:20 Tuesday: 2:30-3:20 Wednesday: 2:30-3:20 Friday: 4:30-5:30.
How to access your Jupyter Notebook
Introductory lab walkthrough
Thank you Jasmine for creating these additional resources! |
Jan. 20 - 24 |
Lab 1 due by 11:59pm on Monday, 27 January |
Need help? Jasmine (our computer lab TA) is available in the Math Cafe area (second floor Hamilton Hall). Office hours for this week (Jan. 20-24) are: Tuesday: 2:30-3:20 Wednesday: 2:30-3:20 Friday: 2:30-3:20 & 4:30-5:30.
How to access your Jupyter Notebook
Introductory lab walkthrough
Thank you Jasmine for creating these additional resources! |
Jan. 27 - 31 |
Lab 1 due by 11:59pm on Monday, 27 January |
Lab 1 walkthrough with Jasmine |
Feb. 3 - 7 |
5 February: Lab 2 opens
Lab 2 due by 11:59pm on Saturday, 15 February |
Lab 2 is about limits, continuity and differentiation. We think of a function as a table of values (as is often the case in real life), and work on limits first. Then we study an important consequence of continuity, summarized in the Intermediate Value Theorem. For the work with real data, and the rates of change, we use difference quotients (and not differentiation formulas). Finally, we put pieces together to study critical numbers and rates of change.
Download lab 2 from here (LINK WILL BE ACTIVE ON WEDNESDAY, FEB. 5th) onto your device (unzip if necessary) and then upload the file lab2_winter2020.ipynb into your Jupyter notebook.
Need help? Jasmine (our computer lab TA) is available in the Math Cafe area (second floor Hamilton Hall). Office hours this week and next: Monday 2:30pm-3:20pm, Wednesday 5:30pm-6:20pm, Friday 2:30pm-3:20pm, Friday 4:30pm-5:20pm. |
Mar. 2 - 6 |
6 March: Lab 3 opens
Lab 3 due by 11:59pm on Monday, 16 March |
Lab 3 is about Euler's Method and Riemann sums. First, we learn how to code a simple differential equation, and then use it to work with differential solutions whose algebraic solutions are hard to obtain, or not possible at all - which makes Euler's Method an extremely valuable tool in true life applications. Then we look at Riemann sums, and work with code that helps us understand how Riemann sums are used to approximate definite integrals in general, and area in particular.
Download lab 3 from here (LINK WILL BE ACTIVE ON FRIDAY, MARCH 6th) onto your device (unzip if necessary) and then upload the file lab3_winter2020.ipynb into your Jupyter notebook.
Need help? Jasmine (our computer lab TA) is available in the Math Cafe area (second floor Hamilton Hall). Office hours: Wednesday 4:30pm-6:20pm, Friday 2:30pm-3:20pm, Friday 4:30pm-5:20pm. |
|