Parameters
Func<double, double> f
The analytic smooth function to integrate.
double intervalBegin
Where the interval starts.
double intervalEnd
Where the interval stops.
double targetAbsoluteError
The expected relative accuracy of the approximation.
Return
double
Approximation of the finite integral in the given interval.