Verify distribution uniformity/Naive: Difference between revisions

Content deleted Content added
SqrtNegInf (talk | contribs)
m →‎{{header|Perl}}: Fix link: Perl 6 --> Raku
SqrtNegInf (talk | contribs)
m →‎{{header|Phix}}: Fix comment: Perl 6 --> Raku
Line 1,349:
At 100 iterations, the permitted range is ~14.21..14.36, so you could not get even one bin right.<br>
At 1000 iterations, 142 is too low (and 144 too high), they would all have to be 143, but 7*143=1001.<br>
The commented-out adjustment to n (as Perl 6Raku) changes the "1000 impossible" result to "1001 not flat", <br>
except of course for the one-in-however-many-gazillion chance of getting exactly 143 of each.