Solve the exercises of chapter 5 (incomplete)