Source: https://documents.epfl.ch/users/f/fa/favi/www/Analyse II - SV/Solutions/Solutions 2015/Analyse-II-Corrige04-2015.pdf