Source: https://maths-sciences.fr/documents/capindus/maths/pythagore/exercices-pythagore-cap-industriel.pdf