Completed problem 1 of chapter 11 practical session