Expected value of a binomial variable