Source: http://gilbert.gastebois.pagesperso-orange.fr/java/pend_elastique/pend_elast/theorie_pendule_elastique.pdf