Text this: Variational principles in dynamics and quantum theory/