Gamma function
Suggests methods to calculate the gamma function and draws its curve.
2024.Nov.25 05:53:07
x
min
,
x
max
> 0
Limits for calculations and graph, multiples of and with steps of ½.
Show values
No
Yes
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.
Article ST-A3C23
http://web.ist.utl.pt/~mcasquilho/compute/qc/F-gammafunc.php
Created:
2003-12-23 —
Last modified:
2007-10-13