Question: For large values of a positive integer n, an approximation which is often used for its factorial, n!, is the following, known as Stirlings formula:

For large values of a positive integer n, an approximation which is often used for its factorial, n!, is the following, known as Stirling’s formula:

n!~ ~ 2n(")".

Here, the symbol ∼ means that the ratio of the two sides tends to 1 as n → ∞, so that the formula can also be written in the formimage text in transcribed

Calculate the values of the quantityimage text in transcribed

for n = 20, 30, 40, 50, 60, 80,100, 120,150 and plot these points against n on a graph.
Check that even for modest values of n, this gets very close to √
2π.

n!~ ~ 2n(")".

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Introduction To Probability Statistics Questions!