chore(i18n,learn): processed translations (#45123)

This commit is contained in:
camperbot
2022-02-16 22:48:09 +05:30
committed by GitHub
parent 51c8b065f5
commit c934590548
48 changed files with 515 additions and 492 deletions

View File

@ -1,6 +1,6 @@
---
id: 5a23c84252665b21eecc7e76
title: Gamma function
title: Funzione Gamma
challengeType: 5
forumTopicId: 302271
dashedName: gamma-function
@ -8,51 +8,51 @@ dashedName: gamma-function
# --description--
Implement one algorithm (or more) to compute the [Gamma](https://en.wikipedia.org/wiki/Gamma function) ($\\Gamma$) function (in the real field only).
Implementa un algoritmo (o più) per calcolare la funzione [Gamma](https://en.wikipedia.org/wiki/Gamma function) ($\\Gamma$) (solo nel campo reale).
The Gamma function can be defined as:
La funzione Gamma può essere definita come segue:
<div style='padding-left: 4em;'><big><big>$\Gamma(x) = \displaystyle\int_0^\infty t^{x-1}e^{-t} dt$</big></big></div>
# --hints--
`gamma` should be a function.
`gamma` dovrebbe essere una funzione.
```js
assert(typeof gamma == 'function');
```
`gamma(.1)` should return a number.
`gamma(.1)` dovrebbe restituire un numero.
```js
assert(typeof gamma(0.1) == 'number');
```
`gamma(.1)` should return `9.513507698668736`.
`gamma(.1)` dovrebbe restituire `9.513507698668736`.
```js
assert.equal(round(gamma(0.1)), round(9.513507698668736));
```
`gamma(.2)` should return `4.590843711998803`.
`gamma(.2)` dovrebbe restituire `4.590843711998803`.
```js
assert.equal(round(gamma(0.2)), round(4.590843711998803));
```
`gamma(.3)` should return `2.9915689876875904`.
`gamma(.3)` dovrebbe restituire `2.9915689876875904`.
```js
assert.equal(round(gamma(0.3)), round(2.9915689876875904));
```
`gamma(.4)` should return `2.218159543757687`.
`gamma(.4)` dovrebbe restituire `2.218159543757687`.
```js
assert.equal(round(gamma(0.4)), round(2.218159543757687));
```
`gamma(.5)` should return `1.7724538509055159`.
`gamma(.5)` dovrebbe restituire `1.7724538509055159`.
```js
assert.equal(round(gamma(0.5)), round(1.7724538509055159));