Distributionshard
0:00.0

Let XBinomial(n,p)X \sim \text{Binomial}(n, p). Find the expected value of the random variable X(nX)X(n - X).