Solving Stirling's Formula: 5000 Objects from 10000

  • Thread starter superwolf
  • Start date
  • Tags
    Formula
In summary, Stirling's Formula is a mathematical approximation that uses the Gamma function to estimate the value of factorials for large numbers. It is useful for quickly and accurately calculating factorials, particularly in statistics and probability calculations. "Solving Stirling's Formula: 5000 Objects from 10000" is an example of a combinatorial problem where the formula is applied. While it can be used for many factorial calculations, it is most accurate for larger numbers.
  • #1
superwolf
184
0
How many ways are there to choose 5000 objects out of a jar full of 10 000 distinct objects?

ATTEMPT:

Number of ways = (10000 5000)

ln 10000! = 10000 ln 10000 - 10 000 + 0.5ln(2*pi*M) = 82108 --> 10000! = e^82108

I still get overflow on my calculator!
 
Physics news on Phys.org
  • #2
oooh … paper!

Hi superwolf! :smile:
superwolf said:
ln 10000! = 10000 ln 10000 - 10 000 + 0.5ln(2*pi*M) = 82108 --> 10000! = e^82108

I still get overflow on my calculator!

then do it on paper first, putting in the 50005000, do a bit of cancelling, and then worry the poor old computer! :wink:
 

1. What is Stirling's Formula?

Stirling's Formula is a mathematical approximation used to estimate the value of factorials for large numbers.

2. How does Stirling's Formula work?

Stirling's Formula uses the Gamma function to approximate the value of factorials. It involves taking the natural logarithm of the factorial, performing some mathematical operations, and then raising it to a power.

3. Why is Stirling's Formula useful?

Stirling's Formula is useful because it can quickly and accurately estimate the value of factorials for large numbers, which can be difficult and time-consuming to calculate manually. This is particularly useful in statistics and probability calculations.

4. How does "Solving Stirling's Formula: 5000 Objects from 10000" relate to Stirling's Formula?

This phrase refers to a specific application of Stirling's Formula, where the formula is used to estimate the number of ways to choose 5000 objects from a total of 10000 objects. This is an example of a combinatorial problem, where the order of the objects does not matter.

5. Can Stirling's Formula be used for all factorial calculations?

While Stirling's Formula can be used for many factorial calculations, it is not always accurate for smaller numbers. It is best used for large numbers, typically those greater than 100, as the approximation becomes more accurate as the number increases. For smaller numbers, it is better to use the exact calculation of the factorial.

Similar threads

  • Engineering and Comp Sci Homework Help
Replies
8
Views
1K
  • Introductory Physics Homework Help
Replies
21
Views
2K
  • Introductory Physics Homework Help
Replies
22
Views
3K
  • Introductory Physics Homework Help
Replies
4
Views
1K
  • Introductory Physics Homework Help
2
Replies
44
Views
10K
  • Set Theory, Logic, Probability, Statistics
Replies
1
Views
1K
  • Introductory Physics Homework Help
Replies
5
Views
8K
  • Introductory Physics Homework Help
Replies
17
Views
1K
  • Precalculus Mathematics Homework Help
Replies
5
Views
2K
  • Advanced Physics Homework Help
Replies
2
Views
2K
Back
Top