Source: https://ww2.ac-poitiers.fr/electrotechnique/sites/electrotechnique/IMG/pdf/correction_E2_2012.pdf