n is the total number of bernouilli trials x is the wanted number of successful bernouilli trials p is the binomial probability of obtaining a success value in each ...