;Task: Implement one algorithm (or more) to compute the [[wp:Gamma function|Gamma]] (\Gamma) function (in the real field only). If your language has the function as built-in or you know a library which has it, compare your implementation's results with the results of the built-in/library function. The Gamma function can be defined as: :::::: \Gamma(x) = \displaystyle\int_0^\infty t^{x-1}e^{-t} dt This suggests a straightforward (but inefficient) way of computing the \Gamma through numerical integration. Better suggested methods: * [[wp:Lanczos approximation|Lanczos approximation]] * [[wp:Stirling's approximation|Stirling's approximation]]