$X,Y$ are both Continuous uniformly distributed.
What is the method to find $E(Y^2)$?
Any help is appreciated.
$X,Y$ are both Continuous uniformly distributed.
What is the method to find $E(Y^2)$?
Any help is appreciated.
Copyright © 2021 JogjaFile Inc.
As commented this is just a matter of using the Law of Total Expectation.
$\qquad\begin{align}\mathsf E(Y^2) & =\mathsf E(\mathsf E(Y^2\mid X))\\&=\int_\Bbb R\left(\int_\Bbb R y^2\,f_{Y\mid X}(y\mid x)\,\mathrm d y\right) f_{X}(x)\,\mathrm d x\\ &=\int_0^1\int_x^1\frac{y^2}{1-x}\,\mathrm d y\,\mathrm d x\\&~~\vdots\end{align}$