(n)calculus of variationsthe calculus of maxima and minima of definite integrals