Calculus of variations, Classical and Modern by