Source: https://www.physagreg.fr/CoursTS/Physique/Cours/Physique-C-chap8-oscillations_electriques.pdf