Source: https://fac.umc.edu.dz/ista/pdf/cours/L1-GPL_Cours MECA 2 (ch1_ch2 et ch3).pdf