Applications of integrals​