A First Course in the Calculus of Variations