Very High Order Newton–Cotes and Gauss Quadrature Integration Rules
Abstract
Although numerical methods are crucial for solving integrals without analytical solutions, the choice of method, order, and number of samples significantly impacts the accuracy, often deviating from theoretical expectations owing to limitations in numerical representation. Discussing the importance of integrals such as Carson, Pollaczek, atmospheric discharge, erf, and sinc, among others, which still lack analytical solutions, is critical in various fields. Existing approaches to these integrals include power series, function transformations, and numerical methods. Although there is a discrepancy between theoretical precision expectations (higher orders, more samples) and practical outcomes due to finite-bit representation in binary calculations, for some of these integrals the numerical approach is the only way to solve them. The objective of this study is to analyze the maximum order and appropriate number of samples for numerical methods (Newton and Gauss methods) using integrals. Therefore, this work presents the implementation of Newton and Gauss methods on selected integrals, analyzing the results concerning the method type, order, and number of samples. Summarizing the findings, it is shown that higher-order formulas and a larger number of samples do not necessarily improve the precision of binary calculations, concluding with practical considerations for implementing numerical methods effectively.