Direct Method Of Calculus Of Variations