notes for lecture 18 1729259