Source: http://mathematiques.ac.free.fr/IMG/pdf/Optimisation_d_une_aire_baignade__correction_2de.pdf