Initial data commit
This commit is contained in:
parent
72d218235f
commit
f23f22d71c
199087 changed files with 3378941 additions and 0 deletions
11
Task/Gamma-function/Sidef/gamma-function-3.sidef
Normal file
11
Task/Gamma-function/Sidef/gamma-function-3.sidef
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
define ℯ = Num.e
|
||||
define τ = Num.tau
|
||||
|
||||
func Γ(t) {
|
||||
t < 20 ? (__FUNC__(t + 1) / t)
|
||||
: (sqrt(τ*t) * pow(t/ℯ + 1/(12*ℯ*t), t) / t)
|
||||
}
|
||||
|
||||
for i in (1..10) {
|
||||
say ("%.14e" % Γ(i/3))
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue