Oh, I didn't realize it staibilizes because sinus and cosinus hovers between -1 and 1, the average will 0.
But there can't be any primitive function, right? Cause I else I would have found a way to integrate the Gaussian function, and I guess it has been proven that there's no way to do it.
of elementary functions (in some sense these are more common that those
that do, but we don't tell you that, we only teach what can be done in
terms of elementary functions). The usual technique to deal with an
important class of integrals like this is to introduce a new class of special
functions in terms of which the integral can be written in cloded form.
An example which you may have met is the integral of the Gaussian density,
here we introduce the error function which allows us to write the integral in
You might find this article of interest.