homework 02 problem 05 solved