Source: https://fac.umc.edu.dz/ista/pdf/cours/L1-GPL_Méca 2-TD N° 06 + Corrigé.pdf