Suppose that a company has determined that the the number of jobs per week, $N$, varies from week to week and has a Poisson distribution with mean $\lambda$. The number of hours to complete each
job, $Y_{i},$ is gamma distributed with parameters $\alpha$ and $\beta$. The total time to complete all jobs in a week is $T=\sum_{i=1}^{N} Y_{i} .$ Note that $T$ is the sum of a random number of random variables. What is
a. $E(T | N=n) ?$
b. $E(T)$, the expected total time to complete all jobs?