Applications of definite integrals