X is a discrete random variable and takes only three values. Its probability density distribution(pdf) is given by
f(x) =
1/2, if x = 1
1/4, if x = 2
1/4, if x = 4
0, otherwise
Y is a continuous random variable whose conditional expectation given X can be expressed byfunction h(X) such that
E(Y |X) = X2 - X
Compute E(Y ) using the Law of Iterated Expectations (E(Y ) = E[E(Y |X)]).
Help me please