Homework-8, problem 2, 3 is added.