Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #14389 > unrolled thread
| Started by | karchevskymi@gmail.com |
|---|---|
| First post | 2013-05-02 01:40 +0000 |
| Last post | 2013-05-03 07:50 +0000 |
| Articles | 3 — 3 participants |
Back to article view | Back to comp.soft-sys.math.mathematica
Formula Stirlinga karchevskymi@gmail.com - 2013-05-02 01:40 +0000
Re: Formula Stirlinga Richard Fateman <fateman@cs.berkeley.edu> - 2013-05-03 07:49 +0000
Re: Formula Stirlinga DC <b.gatessucks@gmail.com> - 2013-05-03 07:50 +0000
| From | karchevskymi@gmail.com |
|---|---|
| Date | 2013-05-02 01:40 +0000 |
| Subject | Formula Stirlinga |
| Message-ID | <klsg67$t99$1@smc.vnet.net> |
n = 1000; N[n! - Sqrt[2*Pi*n]*(n/Exp[1])^n] = 3.35308734163*10^2563 Why does Stirling's formula works incorrect?
[toc] | [next] | [standalone]
| From | Richard Fateman <fateman@cs.berkeley.edu> |
|---|---|
| Date | 2013-05-03 07:49 +0000 |
| Message-ID | <klvq6n$2d5$1@smc.vnet.net> |
| In reply to | #14389 |
On 5/1/2013 6:40 PM, karchevskymi@gmail.com wrote: > n = 1000; > N[n! - Sqrt[2*Pi*n]*(n/Exp[1])^n] = 3.35308734163*10^2563 > Why does Stirling's formula works incorrect? > Mathematica has correctly computed what you specified. You apparently have a misunderstanding of Stirling's formula, but that is quite independent of Mathematica.
[toc] | [prev] | [next] | [standalone]
| From | DC <b.gatessucks@gmail.com> |
|---|---|
| Date | 2013-05-03 07:50 +0000 |
| Message-ID | <klvq80$2e1$1@smc.vnet.net> |
| In reply to | #14389 |
It looks better if you take the logs : n = 1000; N[Log[Factorial[n]] - (1/2 Log[2 Pi n] + n Log[n] - n)]
[toc] | [prev] | [standalone]
Back to top | Article view | comp.soft-sys.math.mathematica
csiph-web