-snip-
So in the end the
exactly didn't matter and I guessed this was why after this:
Pr (3 block) = 1 - (Pr( ≤2 block) + Pr (>3 block))
I still got the same 0.06133 which is roughly same as the 0.06131
My python code, works in similar way as your c++
I wrote mine as a code in python, to be Frank my code is not professional
i`m still working on that import math
Parameter = 1
RandomNumber = 3
EulerNumber = 2.71828
Probability = (Parameter ** RandomNumber ) * (EulerNumber ** (-Parameter)) / math.factorial(RandomNumber)
RoundedProbability = round(Probability, 4)
Inpercentage = str(RoundedProbability * 100)
print ('The chance of having exactly three blocks mined within the next 10 minutes = ',
RoundedProbability, 'or', Inpercentage + '%')
Poisson distribution was also spoken about on the bitcoin whitepaper in page 7 even in regards to your previous question
I did edit a part which was,
math.factorial(3) to math.factorial(RandomNumber)