Applications of integration