Minimizing integrals in certain classes of monotone functions.