lecture 18.pdf