Integral Equations and Calculus of Variation