std::binomial_distribution

I don't know what binomial numbers are, and can't get straight answer using google except some maths formulas witch i don't understand. So i think, for me its better to get clear if i see some example.

Say i generate a 100 random numbers with values ranging from 0 to 1000, what values should i expect with this "distribution"?

Thank you for your time.
This would be equivalent to tossing 1000 coins, 100 times. The numbers you'll be getting will be the numbers of heads (for example), in your 1000-coin sample. You will get a lot of numbers that are close to the middle of the range, and only a few numbers that are close to zero or to 1000.

If you plot them as a histogram, you will see something like
http://en.cppreference.com/w/cpp/numeric/random/binomial_distribution
or http://mathworld.wolfram.com/BinomialDistribution.html
That's the answer i was looking for. Straight and simple to understand. Thank you very much.
Topic archived. No new replies allowed.