Calls in an Hour
A help desk gets rate calls an hour on average, and calls arrive independently (a Poisson process). Return the chance of exactly k calls in one hour.
Example 1
k 0
rate 1.0
returns 0.36787944117144233
With 1 call an hour on average, an empty hour has chance e to the power -1, about 0.368.
Constraints
0.1 <= rate <= 300 <= k <= 60
Write it in your browser, against the clock. The model solution, stepped through line by line, comes after.
More SciPy problems
- Chance BetweenEasy
- Cutoff for the TopEasy
- Rank AgreementEasy
- Ranks With Shared PlacesEasy
- Solve the SystemEasy
- Value in BetweenEasy
- Are They IndependentMedium
- Break-Even RateMedium