Approaching Factorial Numbers by Refining Stirling's Formula
ISEF · 2014 Materials Science
Overview
This research focuses on refining the formula of James Stirling that gives an approximation of the actual value of a factorial (Striling, 1730). A wide interval was selected for the value of n and evaluated in the Stirling formula to study its approximations and their errors. It was found that the Stirling formula is not forthcoming enough when the value of the selected n increase. This leads to investigate how to get a better approximation by manipulating the original formula, it was found that the addition of a factor provides a better approximation of computing the factorial number, this was given by exploring factors that satisfied 1 < f < 2. The findings are validated with a mathematical program. The resulting formula is sqrt(2pi*n)*(n/e)^n*(1+(1/((5977/500)*n))), which offered much more accurate values. These values were placed in a table to clearly compare the respective approaches of both formulas and other two factorial approximation formulas by Burnside and Gosper, where it can be observed a remarkable improvement in the factorial approximation. Precision percentages were then calculated, Stirling's formula has 99.443182 % of accuracy and the improved formula offers 99.999334 % of accuracy. The accuracy of this formula has many applications in quantum statistics, which are used in marketing or economics. In conclusion, using data provided by a mathematical program it can be induce that Stirling's formula was refined by the addition of the factor.
Competition history
- ISEF 2014
Resources
Related projects
ISEF · 2024
Fibonacci Analogues of Legendre's Formula and Fine's Theorem
ISEF · 2023
On a New Variant of Prime Factorization Algorithm
ISEF · 2025
Prime Factorization of Linear Combination of Factorials
ISEF · 2022
Utilizing Convergence Tests and Complex Analysis To Redefine the Provability of the Partition Formula
Closest projects by meaning, across every fair and year in the corpus.
Source: Regeneron International Science and Engineering Fair