Source: https://accromath.uqam.ca/wp-content/uploads/2013/04/Pythagore.pdf