Chapter 3 : exercices 17 to 23