A help line gets rate calls a minute on average. Callers don’t know about each other: each call comes at a random moment, and any moment is as likely as any other. Write chance_of_calls(rate, calls): the chance that one minute brings exactly calls calls.
A help line that gets 3 calls a minute on average, minute after minute; each tick is a call, and the bars below tally how many calls each minute brought. Cutting the minute into 60 one-second slots, each ringing or not, misses the seconds that bring two calls. The goal is the bars it ends on. Once it has played, click a bar.
chance_of_calls(rate, calls)| rate | how many calls the line gets in a minute, on average, e.g. 3 (may be a fraction, e.g. 0.5) | e.g. 3 |
| calls | how many calls you want in one minute, exactly | e.g. 0 |
| returns | the chance that a minute brings exactly that many calls | |