Title: The derivation of Euler's equations from a variational principle