Class notes. Comments and corrections welcome! Exams 2022: Midterm and its solution Final 2021: Midterm and its solution Final