Source: https://bertrand.kieffer.pagesperso-orange.fr/ibays/Primary/html/ens/physique/Kieffer/SP1S/devoirs/DS2,12-corrige.pdf