对于更精确的椭圆周长近似,简洁性是否仍然可能?或者说,利用指数函数进一步改进拉马努金第二近似公式
Is simplicity still possible for a more accurate approximation to the perimeter of the ellipse? or, Using the exponential function to further improve the second Ramanujan's approximation
AI总结:
针对椭圆周长无初等闭式精确解的问题,提出结合指数函数改进拉马努金第二公式的新闭式近似,仅用4个常数,在宽偏心率范围内最大相对误差低至0.57 ppm,兼顾简洁性与高精度。
摘要:
椭圆的周长无法用初等函数表示为精确的闭式表达式,自18世纪以来,人们已经提出了大量近似公式。Fagnano、Euler和Ramanujan提出的经典公式,以及Cantrell方法、Koshy方法等现代改进方案,都旨在降低近似误差的同时保持计算简洁性。本文提出了一种新的闭式表达式,通过将Ramanujan第二公式除以1减去两个指数项构成的二项式,对其进行改进,在b/a介于1到1/10000的范围内,甚至在更小的比值下,都能实现非常稳定的近似。所得的近似公式依然紧凑,仅需四个常数,在简洁性与准确性之间实现了出色的平衡。在b/a∈[0.0001,1]的完整偏心率范围内,相对于通过椭圆积分计算的精确周长,本文方法的最大相对误差约为0.57 ppm。该公式在两种极端情况下近乎精确:即b/a=1的圆形,以及b/a=0的退化扁平椭圆。与Cantrell近似相比,本文提出的方法将最大相对误差降低了25倍,同时保持了表达式的简短优雅。这使其成为目前文献中可获得的最简洁同时也最准确的闭式单行椭圆周长近似公式之一。
英文摘要:
The perimeter of an ellipse has no exact closed-form expression in terms of elementary functions, and numerous approximations have been proposed since the eighteenth century. Classical formulas by Fagnano, Euler, and Ramanujan, as well as modern refinements such as Cantrell and Koshy methods, aim to reduce the approximation error while maintaining computational simplicity. In this paper, we introduce a new closed-form expression that enhances Ramanujan second formula by dividing it by 1 minus a binomial of two exponential terms resulting in a very stable approximation in a range of b/a between 1 and 1/10000, or even up to a smaller ratio. The resulting approximation remains compact, requiring only four constants, and achieving a remarkable tradeoff between simplicity and accuracy. Across the full eccentricity range of b/a in [0.0001,1], our method attains a maximum relative error of approximately 0.57 ppm with respect to the exact perimeter computed via elliptic integral. Our formula is quasi-exact at the extremes, for the circle b/a=1 and for the degenerate flat ellipse b/a=0. Compared with Cantrell approximation, the proposed method reduces the maximum relative error by a factor of 25 while preserving a short and elegant expression. This makes it one of the simplest yet most accurate closed-form and single-line approximations to the ellipse perimeter currently available in the literature.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。