Source: https://perso.univ-lemans.fr/~nerrien/Correction TP S2/CorrigesElectroTP1.pdf