Back to Search Start Over

Open Source Implementations of Numerical Algorithms for Computing the Complete Elliptic Integral of the First Kind

Authors :
Zhang, Hong-Yan
Jiang, Wen-Juan
Source :
Results in Applied Mathematics, 2024, 23(8):e100479
Publication Year :
2022

Abstract

The complete elliptic integral of the first kind (CEI-1) plays a significant role in mathematics, physics and engineering. There is no simple formula for its computation, thus numerical algorithms are essential for coping with the practical problems involved. The commercial implementations for the numerical solutions, such as the functions \lstinline|ellipticK| and \lstinline|EllipticK| provided by MATLAB and Mathematica respectively, are based on $\mathcal{K}_{\mathrm{cs}}(m)$ instead of the usual form $K(k)$ such that $\mathcal{K}_{\mathrm{cs}}(k^2) =K(k)$ and $m=k^2$. It is necessary to develop open source implementations for the computation of the CEI-1 in order to avoid potential risks of using commercial software and possible limitations due to the unknown factors. In this paper, the infinite series method, arithmetic-geometric mean (AGM) method, Gauss-Chebyshev method and Gauss-Legendre methods are discussed in details with a top-down strategy. The four key algorithms for computing CEI-1 are designed, verified, validated and tested, which can be utilized in R\& D and be reused properly. Numerical results show that our open source implementations based on $K(k)$ are equivalent to the commercial implementation based on $\mathcal{K}_{\mathrm{cs}}(m)$. The general algorithms for computing orthogonal polynomials developed are significant byproducts in the sense of STEM education and scientific computation.<br />Comment: 22 pages, 11 figures, 5 tables

Subjects

Subjects :
Mathematics - Numerical Analysis

Details

Database :
arXiv
Journal :
Results in Applied Mathematics, 2024, 23(8):e100479
Publication Type :
Report
Accession number :
edsarx.2212.05694
Document Type :
Working Paper
Full Text :
https://doi.org/10.1016/j.rinam.2024.100479