lecture_notes_week5.pdf