For each element of x, compute the probability density function (PDF) at x of the binomial distribution with parameters n and p.