Given a number $ N $ of intervals, the integral of
a function $ f $ between $ a $ and $ b $ is
calculated by means of Filon's sine and cosine integrals
References:
Abramowitz, M. and Stegun, I. A. (Eds.).
Handbook of Mathematical Functions with Formulas, Graphs,
and Mathematical Tables, 9th printing. New York: Dover,
pp. 890-891, 1972.
test the correctness of the result is tested by checking it
against known good values.
Integral of a one-dimensional function
Given a number $ N $ of intervals, the integral of a function $ f $ between $ a $ and $ b $ is calculated by means of Filon's sine and cosine integrals
References: Abramowitz, M. and Stegun, I. A. (Eds.). Handbook of Mathematical Functions with Formulas, Graphs, and Mathematical Tables, 9th printing. New York: Dover, pp. 890-891, 1972.
test the correctness of the result is tested by checking it against known good values.