Calculus of Variations solvedproblems