Question 2. Revised Page 207 Exercise 1.141 If $\theta_1 < \theta_2$, a random variable Y has a uniform distribution on the interval ($\theta_1$, $\theta_2$). Note, f(y) = 1/($\theta_2$ - $\theta_1$) for $\theta_1 \leq y \leq \theta_2$.
(a) Find the moment-generating function of Y, m(t) = E($e^{ty}$) by integration. [Note: consider that t is a constant]
(b) Use the answer of a, find m(t=2), i.e., m(2), and m(t=5), i.e., m(5). Note, you just need to plug in t=2 and t=5.