Source: https://www.emse.fr/~dutertre/documents/1_cours_diode_2020.pdf