Louis XIV was determined to build the greatest palace of his day. Mathematicians, surveyors, astronomers, engineers, agronomists and hydraulic experts…