Source: https://www.iutbayonne.univ-pau.fr/~legallo/Cours_Analyse_Couts.pdf