The Calculus of Variations and the Euler-Lagrange Equation