hw3 prob 5