7 Numerical Integration and Differentiation 7.1 Newton-Cotes Formulas 7.2 Gaussian Formulas 7.3 Singular Integrals 7.4 Adaptive Quadrature 7.5 Multidimensional Quadrature 7.6 Example: Portfolio Problems 7.7 Numerical Differentiation 7.8 Software 7.9 Further Reading and Summary 7.10 Exercises