Example homework solution