For all your questions, big or small, IDNLearn.com has the answers you need. Our community provides timely and precise responses to help you understand and solve any issue you face.

Given that a random variable x follows a beta distribution (Beta(a,b), where a, b > 0) and, a random variable Y given x follows a binomial distribution Bin (n,x). Calculate the expectation and the variance of Y.