Skip to article frontmatterSkip to article content
Site not loading correctly?

This may be due to an incorrect BASE_URL configuration. See the MyST Documentation for reference.

The 18 lectures fit a semester of 14 weeks with one lecture and one computing session a week. In the weeks with two notebooks, the first is the lecture and the second is worked in the computing session.

For whom. Students in the second or third undergraduate year of engineering or the physical sciences, graduate students who want a systematic account of these methods, and engineers who write numerical code.

Prerequisites. Calculus, a little linear algebra and probability, and Python with NumPy.

WeekSubjectLectures
1Floating-point numbers, cancellation and compensated summation0
2Dimensional analysis and the Buckingham Pi theorem1
3Loop invariants, state machines and conservation as code contracts2
4Measuring cost; prefix sums, monotonic queues and cell lists3
5Divide and conquer; binary search on the answer4
6Quadtrees and the FFT5
7Dynamic programming6
8Decisions under uncertainty; greedy algorithms7, 8
9Shortest paths and A*9
10Exact cover; critical paths and flows10, 11
11Information and diagnosis; data streams12, 13
12Percolation; traffic and flocking14, 15
13Random search and testing without a reference answer16
14Closing project17

Assessment. The three exercises of each lecture are of increasing difficulty: the first verifies a result of the lecture, the second looks for a way in which a method or a common shortcut fails, and the third asks for a function written by the student and checked against the package or an exhaustive search. A course can use the first two as weekly homework and a selection of the third as a portfolio. Worked solutions to all exercises are in the book.

The closing project (Lecture 17) uses a fictional scenario with synthetic data and assumed aircraft parameters. A course can replace the terrain, the stations or the aircraft by data chosen by the students.