Re: Formula Stirlinga
- To: mathgroup at smc.vnet.net
- Subject: [mg130693] Re: Formula Stirlinga
- From: Richard Fateman <fateman at cs.berkeley.edu>
- Date: Fri, 3 May 2013 03:50:49 -0400 (EDT)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- Delivered-to: l-mathgroup@wolfram.com
- Delivered-to: mathgroup-outx@smc.vnet.net
- Delivered-to: mathgroup-newsendx@smc.vnet.net
- References: <klsg67$t99$1@smc.vnet.net>
On 5/1/2013 6:40 PM, karchevskymi at 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.