how to find expectation of a function of random variable ?
Question : how to find expectation of a function of random variable ? x0123f(x)1/83/83/81/8 Find (i) E[X] (ii) E[X^2] (iii) E[3X-2] (iv) E[(X+1)^2] Solution : Fo the given probability distribution…