HW4 Solutions.pdf