Chapter 3: Functions and scatterplots