1from scipy.integrate import quad
2result = quad(my_function, a, b)
3
4"""
5 quad 1-Dim function
6 dblquad, tplquad, nquad 2, 3, N-Dim respectively
7
8 my_function is a Python-def function
9 a special function from scipy (check documentation)
10 or a lambda function
11 a, b: integration interval
12"""