r/desmos • u/mengRithyreach • 21h ago
23
Upvotes
Question Why is this more accurate. - Stirling formula
6
Upvotes
Like, i like approximations, but this one strikes me as odd. Adding a 1/12x into stirling formula increases the accuracy like a metric boat load.
Is there a clean explanation perhaps an extension to the stirling formula where adding more terms here makes it approach x! exactly, i did a quick peruse on the wiki and i didnt see anything about this specific optimization.
I did some more figuring around, and 1/12x here does still make it approach x! exactly as x goes to infinity. changing the value of 12 makes it not. so theres something special about 1/12x.
r/ math removed by post automatically for some reason. anyway, i just think this is neat and approximations are cool.
