Source: http://staff.univ-batna2.dz/sites/default/files/mokhtari_messouad/files/tp1_snl_pendule_simple_solution.pdf