homework chapters 3 and 4

homework chapters 3 and 4