Source: http://thierry.col2.free.fr/restreint/exovideo_lycee/ex_1S_physique/ch13_ds9pt_pendule_simple_calcul_representation_energie_c.pdf