Problem 49
Question
The factorial of a positive integer \(n\) can be computed as a product: \(n !=1 \cdot 2 \cdot 3 \cdot \cdots \cdot n\) Calculators and computers can evaluate factorials quickly. Before the days of technology, mathematicians developed a formula, called Stirling's formula, for approximating large factorials. Interestingly enough, it involves the irrational numbers \(\pi\) and \(e\). $$n ! \approx \sqrt{2 \pi n} \cdot n^{n} \cdot e^{-n}$$ As an example, the exact value of \(5 !\) is \(120,\) and Stirling's formula gives the approximation as 118.019168 with a graphing calculator. This is "off" by less than \(2,\) an error of only \(1.65 \% .\) Use a calculator and Stirling's formula to find the exact value of \(10 !\) and its approximation.