All problems
Poisson Process Expected Count
Problem
The expected number of events in a Poisson process with rate lambda over time t is lambda t.
Given lambda and t, return the expected count.
Hint
Rate times duration.
Test cases
case 1
in: [2,3]
expected: 6
case 2
in: [0.1,100]
expected: 10
case 3
in: [1,0]
expected: 0
Starter codePython
def poisson_process_expected_count(lam, t):
# Your code here
pass3 test cases · run your code against them in the editor