Some Scalar and Vectorial Problems in the Calculus of Variations