Homework 10 for Stat 506