Problems 2 through 5 from Homework #3 for Math480