Instructor: John Gibson. Office hours: Tue 2-3pm, Thu 12-1pm, Kingsbury N309E, or after class
Teaching Assistant: Mimi Szeto. Office hours: Tue 4-5pm, Wed 1-2pm Kingsbury N210 By appointment (szeto.mimi@gmail.com).
Prerequisite: Math 418 or equivalent.
Required Text: Matlab: A Practical Introduction to Programming and Problem Solving, S. Attaway, any edition.
Additional References: Numerical Computing with Matlab, C. Moler; and Experiments with Matlab, C. Moler.
Download Matlab: UNH academic software (note: requires network license via UNH VPN)
Readings are chapters or sections in the Attaway textbook
lecture | topic | reading | |
---|---|---|---|
08/27 | basics | diary, outline | 1.1-4 |
08/29 | formulae, random numbers, boolean expressions | diary | 1.5-6 |
09/02 | linear algebra | diary | 2.1-4 |
09/04 | vectors, matrices, and indexing | diary | |
09/10 | control flow, functions | diary, functions | 3 |
09/12 | control flow, functions | diary, functions | 3 |
09/17 | vector comparisons and logical ops | diary | |
10/03 | contour plots | example code | |
10/15 | fprintf | diary & codes | |
12/03 | differential equations | diary |
lab | due date | topic |
---|---|---|
lab1 | Tue 09/03 in lab | basic matlab |
lab2 | Tue 09/10 in lab | linear algebra |
lab3 | Tue 09/17 in lab | interest rates |
lab4 | Tue 09/24 in lab | loan calculator |
lab5 | Tue 10/08 in lab | Newton search |
lab6 | Thu 10/17 in lab | Google page rank |
lab7 | Tue 11/05 in lab | Monte Carlo simulation |
lab8 | Tue 11/12 end of lab | log-linear relationships |
lab9 | Tue 11/19 in lab | 3d graphics |
lab10 | Tue 11/26 in lecture | game of life |
lab11 | Tue 12/10 at final exam | projectile motion |
Preparation materials
Solutions and a histogram of scores:
As discussed in lecture on 11/4, we will have another mid-term exam on 11/26, to provide an opportunity for those who did poorly on the midterm to improve their scores. The better of your two exam grades will count towards your total course grade. The exam will cover all lecture and lab material up to 11/26.
The final exam will be held Tuesday, Dec 10 8-10am in Demeritt 240.
Here is a practice final with solutions.