I'm approximating an integral with only exponentials. i.e., it is equal to
$$\int_{-\pi}^\pi{ \left({\sum\limits_{j=a}^b{c_j e^{i\cdot d_j \cdot t}} }\right)\left( {\sum\limits_{k=a}^b{r_k e^{i \cdot s_k \cdot t}} }\right)^{-1} dt},$$ where $c_j, d_j, r_k, s_k \in \mathbb{Z}$
In other words, it's a fraction of exponentials over exponentials.
I realized that we can integrate the individual terms of the power series expansion to integrate the expression. I also found that for the particular integrals that I'm working with, only the first $N$ terms (for some $N$) significantly contribute to the value of the integral.
My idea
We can use feedback and recurrences to approximate this integral. For example, the first two terms of the power series expansion of the function will be something like $c_0 + c_1x$. If we attempt to integrate these terms, we should get $c_0x + \frac{c_1}{2}x$ evaluated at the two endpoints of the interval of integration. But we can approximate this second function. Suppose we take the original power series expansion ($c_0 + c_1x$), rewrite $x$ as $x/2$, and then multiply by $x$. Bingo! We have the integrated function.
Now we can make "guesses" at the integral using the rewriting technique above. Without going into detail, I then have a way to determine the error of the guess. So we can introduce a feedback system to get closer and closer to the actual integral.
My Question
Does a method like this already exist? I've seen techniques for approximating integrals using intervals, but this technique attempts to do it using feedback, instead. Has a similar technique been used? I would like to see the method, if it exists.