Numerical integration example