Numerical evaluation of the Poisson distribution
In an earlier problem you derived the Poisson distribution
![2150_4d75ec0a-dc04-4561-9065-736b50521ad0.png](https://secure.tutorsglobe.com/CMSImages/2150_4d75ec0a-dc04-4561-9065-736b50521ad0.png)
1. Modify (a copy of) your program to read in the values of μ and N and calculate the value of the probability p. Include an extra column in your output that gives the theoretical probability based on the Poisson distribution. (Note: It might be quite important to suppress rows in which the histogram is zero. Otherwise, the print-out could get out of hand for large values of N.)
2. Run your program for various values of μ and N. How large does N have to be for the agreement to be good?