What is lambda in the problem?

So I was given this problem by my professor:
Unfortunately he is unreachable during the holidays. Can someone explain what lambda is supposed to be?
This is the code I have written thus far:
function p=calcprob(k)
p=exp(-lambda)*(((lambda)^k)/(factorial(k)))
end

 Accepted Answer

KSSV
KSSV on 24 Nov 2017
It is a Poisson's Distribution......lambda is the average number of events (here cars) per interval. Read more here: https://en.wikipedia.org/wiki/Poisson_distribution

2 Comments

So in this case Lambda = K(cars)/(1) min ??
NVM i'm so dumb. LOL I reread the problem. Thanks!

Sign in to comment.

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!