Gamma takes as argument a number a.
Gamma returns the value of the Γ function in a, defined by:
Γ(x)= | ∫ |
| e−ttx−1dt, if x>0 |
If x is a positive integer, Γ is computed by applying the recurrence:
Γ(x+1)=x*Γ(x), Γ(1)=1 |
Hence:
Γ(n+1)=n! |
Input:
Output:
Input:
Output:
Input:
Output:
Indeed: Gamma(0.7)=-0.3*Gamma(-0.3)
Input:
Output:
Indeed Gamma(0.7)=-0.3*Gamma(-0.3)=(-0.3)*(-1.3)*Gamma(-1.3)