There is a reason that the Pyramids were built much before the Pythagoras Theorem was committed to paper or papyrus.
Trial and Error
There is a reason that the Pyramids were built much before the Pythagoras Theorem was committed to paper or papyrus.