the mean of the binomial distribution is 4 and variance is 2 then P code example Example: variance of binomial distribution Var(X)=np(1-p)