Please show some working when substituting the equation.
1 Answer
$\begingroup$
$\endgroup$
1
Actually, @DilipSarwate explained exactly how to do it in your previous question.
\begin{align} M_Z(t) &= E[e^{sZ}] \\ &= \int_{-\infty}^\infty e^{tz}\, f_Z(z) dz \\ &= \int_{-\infty}^\infty e^{tz}\, [pf_X(z)+(1-p)f_Y(z)] dz \end{align}
and then use basic properties of expectations / integrals
self-study
tag for textbook questions $\endgroup$