scipy.integrate.dblquad — SciPy v1.7.1 Manual
docs.scipy.org › scipyCompute a double integral. Return the double (definite) integral of func(y, x) from x = a..b and y = gfun(x)..hfun(x). Parameters func callable. A Python function or method of at least two variables: y must be the first argument and x the second argument. a, b float. The limits of integration in x: a < b. gfun callable or float