How to use Sterling's approximation with calculator

Join the discussion
Registration is free. Ask a follow-up in this thread, or start your own.
1 reply · 2K views
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?