Hi all,

could you tell me how I draw (like a TF1) a binomial distribution with n independent trials and probability of success p?

For example n=10 and p=0.5?

I find in TMath Binomial(Int_t n, Int_t k) and Binomiall(Double_t p, Int_t n, Int_t k).

If n and p are the parameters, what is the variable? k? and how I use it?

Thank you

Ciccio

Sorry!

I understood my error.

Binomial() is only the binomial coefficient.

Sorry

Ciccio