Homework #4 Solution