Text this: An introduction to the calculus of variations.