HW9+solutions