In the next sections, we will look at how to compute integrals in detail.
Computing integrals using a Gaussian quadrature
Getting ready
This recipe can be done by using the following integration equations.
- quad: General-purpose integration
- dblquad: General-purpose double integration
- tplquad: General-purpose triple integration
- fixed_quad: Integrate func(x) using Gaussian quadrature of order n
- quadrature: Integrate with the given tolerance using Gaussian quadrature
- romberg: Integrate func using Romberg integration
How to do it...
There are other possibilities is to use...