Question 1 The number of typos on the page of a book has a Poisson distribution with mean 1.2. Find the probability that the number of typos 
R program  using functions for Poisson Distributions, like dpois and ppois
Python program import math mu = 1.2 print "{:0.3f}".format(math.exp(mu)*(mu**2)/2) print "{:0.3f}".format(math.exp(mu)*(mu**2)/2+math.exp(mu)*mu+math.exp(mu)) print "{:0.3f}".format(math.exp(mu*10)*((mu*10)**5)/120) print "{:0.3f}".format(1  (math.exp(40*mu)*((40*mu)**2)/2+math.exp(40*mu)*40*mu+math.exp(40*mu))) Question 2 A random variable X follows the Poisson distribution with mean 5, find the probability with which the random variable X is equal to 10; i.e. P(X = 10). R code
Python code # Enter your code here. Read input from STDIN. Print output to STDOUT import math mean = 2.5 k = 5 num = float (math.pow(mean, k) * math.exp(1*mean)) deno = float(math.factorial(k)) print num/deno Question 3 The number of calls per minute into a ticketing center for travel reservations is Poisson random variable with mean 3. (a) Find the probability that no calls come in a given 1 minute period. (b) Assume that the number of calls arriving in two different minutes are independent. Find the probability that atleast two calls will arrive in a given two minute period. Python program
R program  using functions for Poisson Distributions, like dpois
