homework 02 problem 04 solved