Revised Homework 3