Applications of numerical integration