This commit is contained in:
Vhizux
2020-10-25 22:06:40 +01:00
parent 1e47fcec37
commit 1ed0897310

View File

@@ -31,7 +31,7 @@ def binomialDistFunc():
for i in range(0, rejections + 1):
answer += newton_symbol(float(batch), float(i)) * ((rejected_fraction / 100.) ** float(i)) * \
((1 - (rejected_fraction / 100.)) ** (float(batch) - float(i)))
((1 - (rejected_fraction / 100.)) ** (float(batch) - float(i)))
answer = round(100 * answer, 2)