Solutions of chapter 4 (4.1 ~ 4.7)