Solution exercice 5.02.