Source: https://web.hec.ca/pages/roch.ouellet/manuels/MOG/solutions_exercices/Soln-ExRév7.pdf