How to use Sterling's approximation with calculator

Click For Summary
SUMMARY

The discussion focuses on using Stirling's approximation to calculate the number of ways to distribute 2 indistinguishable particles into 100 distinguishable boxes. The user attempts to compute ln(n!) using the formula ln(n!) = nln(n) - n, arriving at ln(100!) = 360.5 and ln(98!) = 351.3. The challenge arises when the user needs to compute the final answer by raising these values to e, which their calculator cannot handle. The conversation suggests that Stirling's approximation can simplify the calculation without directly computing the factorials.

PREREQUISITES
  • Understanding of combinatorial mathematics
  • Familiarity with Stirling's approximation
  • Knowledge of logarithmic functions
  • Basic calculator operations involving exponentiation
NEXT STEPS
  • Study Stirling's approximation in detail
  • Practice calculating factorials using logarithmic properties
  • Learn about combinatorial distributions and their applications
  • Explore advanced calculator functions for handling large numbers
USEFUL FOR

Students in combinatorial mathematics, educators teaching probability and statistics, and anyone looking to simplify complex factorial calculations using Stirling's approximation.

leroyjenkens
Messages
621
Reaction score
49

Homework Statement


w!/(w-n)! = number of ways of distributing n* distinguishable particles in w distinguishable states

w = number of distinguishable states
n = number of indistinguishable particles

How many ways are there to put 2 particles in 100 boxes, with no particles sharing a box.

Homework Equations


ln(n!) = nln(n) - n

The Attempt at a Solution



I get ln(n!) = 100ln(100) - 100 = 360.5 and
ln(98!) = 98ln(98) - 98 = 351.3

I need to raise both of those numbers to e to get the final answer, but my calculator can't do that. The final answer is a relatively small answer that a calculator can handle, but getting to that answer is impossible unless you do some intermediate step. That step involves doing something with these numbers before I raise them to e. I can't figure out what that step is. Thanks.
 
Physics news on Phys.org
Well, you don't really need to compute the factorials to compute 100!/98!. Have you been told explicitly to use Stirling's formula?
 

Similar threads

  • · Replies 7 ·
Replies
7
Views
4K
  • · Replies 10 ·
Replies
10
Views
5K
  • · Replies 22 ·
Replies
22
Views
3K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
5
Views
2K
  • · Replies 1 ·
Replies
1
Views
9K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 5 ·
Replies
5
Views
2K
Replies
3
Views
4K
Replies
2
Views
5K