So, I decided to dig a little deeper into numerical integration because we hardly had any of that in my analysis class. I've come across this method for improper integrals: Метод Самокиша (not in English, unfortunately).
What scares me though, is that the series in the last formula starts with $- \infty$. Is that even possible? We haven't studied series yet, but from what I understand the series usually starts with $1$ (or $0$) and goes to infinity.
I really hope you can help me figure this out. Thanks!
We have the following definition: $$ \sum_{n=0}^\infty a_n = \lim_{N \to \infty} \sum_{n=0}^N a_n,$$ if this limit exists. It is now clear how to make sense of a sum which is infinite on both sides: $$ \sum_{n=-\infty}^\infty a_n = \lim_{N\to \infty} \lim_{M \to -\infty} \sum_M^N a_n, $$ if this limit exists. Moreover, if this latter limit exists, then it is also equal to $$ \lim_{N\to\infty}\sum_{n=-N}^N a_n,$$ which you can evaluate numerically in the usual way -- sum up more and more terms and keep track of how small the summands are getting...