INTERACTIVE EXAMPLE 3: PROBLEM 10