Solving Sterling's Theorem: Calculate ln 15! & Find n for 2% Accuracy

  • Thread starter bon
  • Start date
  • Tags
    Theorem
In summary, the conversation is about using a calculator to find the value of ln 15! and comparing it to the simple version of Sterling's theorem. The question then arises of how large n must be for the simple version of Stirling's theorem to be accurate within 2%. The solution involves graphing to find the point where the expression (ln(n!) - n·ln(n) + n)/ln(n!) - 0.02 goes from positive to negative.
  • #1

bon

559
0

Homework Statement



The Q: Use your calculator to work out ln 15!

Compare the answer with the simple version of Sterling's theorem (ln n! = nln n - n)

How big must n be for the simple version of Stirling's theorem to be correct to within 2%?


Homework Equations





The Attempt at a Solution




So I've done the first two parts.

But for the last I get that (ln n! - nln n + n)/ln n! < 0.02 which I don't know how to solve for n...

any ideas?
thanks!
 
Physics news on Phys.org
  • #2
I don't think you are supposed to solve for n. Do the same thing to did for a few numbers larger than 15 until you get within 2%.
 
  • #3
bon said:
...

Sterling's theorem (ln n! = nln n - n)


But for the last I get that (ln(n!) - n·ln(n) + n)/ln(n!) < 0.02 which I don't know how to solve for n...

any ideas?
thanks!
Hi bon.

Try graphing (ln(n!) - n·ln(n) + n)/ln(n!) - 0.02 . See where this goes from positive to negative.

Check out this link: http://www.wolframalpha.com/input/?i=(ln+(n!)-n*ln(n)+++n)/ln+(n!)-.02"

[PLAIN]http://www4c.wolframalpha.com/Calculate/MSP/MSP504019e29g7g29faa3670000634agaci8ae3cab4?MSPStoreType=image/gif&s=9&w=303&h=104 [Broken]
 
Last edited by a moderator:

Suggested for: Solving Sterling's Theorem: Calculate ln 15! & Find n for 2% Accuracy

Replies
3
Views
539
Replies
3
Views
343
Replies
23
Views
900
Replies
2
Views
752
Replies
23
Views
899
Replies
7
Views
669
Replies
1
Views
445
Replies
2
Views
410
Back
Top