 |
Gamma function
Suggests methods to calculate the gamma function and draws its
curve. |
|
|
xmin, xmax |
> 0
|
Limits for calculations and graph, multiples of and with steps of
½. |
Show values |
|
Shows the values of the graph coordinates. |
Computes the gamma function
(its Naperian logarithm) and draws its graph for a given range
of the argument. For integers, it is
Γ(n) = (n−1)! .
Two methods are used: (1.st) a library procedure;
and (2.nd) recursive calculation. For the latter, only the
following data and relationship are necessary:
Γ(½) = √π, Γ(1) = 1,
Γ(x) = (x−1).Γ(x−1).
[Notice the difference to factorials:
n! = n.(n−1)!]
The curves are expected to coincide. |
|
|
References:
• Weisstein, Eric W. (2007),
"Gamma Function." From MathWorld--A Wolfram Web Resource. |