Source: https://perso.univ-rennes1.fr/bernard.le-stum/bernard.le-stum/Documents_files/Fonctions%20de%20plusieurs%20variables,%20exercices.pdf