Re: Gaussian Distribution Using Dice

new topic     » goto parent     » topic index » view thread      » older message » newer message

Juergen Luethje wrote:
> 
> cklester wrote:
> 
> > This looks good, but, again, I don't understand the last math part...
> >
> >    <a
> >    href="http://mathforum.org/library/drmath/view/52207.html">http://mathforum.org/library/drmath/view/52207.html</a>
> 
> This is not a Gaussian Distribution, BTW. A Gaussian Distribution is a
> continuous distribution, whereas this is a discrete distribution.

I'm glad we have geniuses on hand in the Euforum! :)

> However, the probabilities of sums on multiple dice *approach* a
> Gaussian distribution as the number of dice is increased.

Yeah, I knew that. :P

> When you want to calculate the number of ways or probabilities for only
> a few cases, this code might be faster than the code provided by Lewis.
> Please check yourself.

I haven't run any benchmarks on them yet, but your code works great!

Thank you!

-=ck
"Programming in a state of EUPHORIA."
http://www.cklester.com/euphoria/

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu