Re: How to calculate factorial of fractions?



On Nov 10, 2:13 am, mike3 <mike4...@xxxxxxxxx> wrote:
On Nov 9, 7:18 pm, Sunil <sravip...@xxxxxxxxx> wrote:

I have seen several posts as to how to calculate factorial of
fractions like using gamma method. Can any one explain it using any
approximation such as sterling's?. I am able to calculate half
fractions using gamma but not the other fractions.

For example (3.142)!

You're right, you use the Gamma function:
3.142! = Gamma(4.142), exactly.

Stirling's series is an asymptotic series for the Gamma
function, which means that although it ultimately diverges,
it can be used to generate arbitrarily-good approximations
provided one makes the input to the function large enough.
Combined with the recurrence Gamma(z+1) = z*Gamma(z), one
can amplify the input to the size required for getting good
approximations.

See:

http://en.wikipedia.org/wiki/Asymptotic_expansion

Using the first few terms on that page even, we obtain
3.142! = Gamma(4.142) ~ 7.1918765295. The program I'm using
says the true value of Gamma(4.142) is closer to 7.1918772362,
so we'll just round the approximation from the asymptotic
to 7.191877. Not too bad, eh?

Look up the Lanczos Log Gamma approximation. Works in the whole
complex half plane with positive real part - use reflection formula
for negative real part.

.



Relevant Pages

  • Re: i^3 == -i
    ... My favourite recent treatment of the Lanczos gamma approximation is at ... You can use Pugh's recommended constants from the appendices of his ...
    (comp.sys.hp48)
  • Re: Letter to Dirk Van de moortel
    ... sufficiently close to zero that you can assume gamma = 1. ... Hense "approximation". ... So, when you take a subset of SR, namely that of very small speeds, you get ... Full Classical Mechanics have no limit on ...
    (sci.physics.relativity)
  • Re: How to calculate factorial of fractions?
    ... fractions like using gamma method. ... approximation such as sterling's?. ... fractions using gamma but not the other fractions. ...
    (sci.math)
  • Re: How to calculate factorial of fractions?
    ... fractions using gamma but not the other fractions. ... Stirling's series is an asymptotic series for the Gamma ... so we'll just round the approximation from the asymptotic ...
    (sci.math)
  • Re: How to calculate factorial of fractions?
    ... fractions like using gamma method. ... approximation such as sterling's?. ... fractions using gamma but not the other fractions. ...
    (sci.math)

Loading