Parameters
Func<double, double>
f
The analytic smooth function to integrate.
double
intervalBegin
Where the interval starts, inclusive and finite.
double
intervalEnd
Where the interval stops, inclusive and finite.
int
numberOfPartitions
Even number of composite subdivision partitions.
Return
double
Approximation of the finite integral in the given interval.