https://medium.com/@kaspermuller/building-a-numerical-integration-tool-in-python-from-scratch-a8185449b70a