From Math Forum: an improvement of Stirling's approximation, credited to Gosper:
The usual approximation is
which is just the beginning of an asymptotic series
and we can rewrite the square root to get
and combining the two square roots gives us
which is what we wanted. This is basically a combination of the first two terms of the usual Stirling approximation into one term. For example, when n = 8 this gives 40316, compared to 39902 for the first term of Stirling's series and 40318 for the first two. (8! = 40320.) In general the error of Gosper's approximation is about twice that in the first two terms of Stirling's, so this isn't incredibly useful but it's an interesting curiosity.
Subscribe to:
Post Comments (Atom)
1 comment:
[url=http://vioperdosas.net/][img]http://vioperdosas.net/img-add/euro2.jpg[/img][/url]
[b]educational software systems, [url=http://sapresodas.net/]shop foreman pro software[/url]
[url=http://vioperdosas.net/]to buy adobe software[/url] cheap software price 2009 cheap software
buy microsoft office 2007 software [url=http://sapresodas.net/]kristanix software button shop v3[/url] quarkxpress linking problems
[url=http://vioperdosas.net/]windows vista download[/url] Advanced Mac
[url=http://vioperdosas.net/]buy software australia[/url] microsoft activesync software
government discount software [url=http://sapresodas.net/]Software period[/url][/b]
Post a Comment