density function for a binomial with n %3D 30 and p %3D 0.7