f(x) = [n!/(x!*(n-x)!)] * p^{x} * q^{n-x} for x = 0, 1, 2, ..., n

where p is the probability of success at each trial q is equal to 1-p n is the number of independent trials