[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HOE] Math question



>Perhaps I'm missing something important here but I get the impression that
>you guys want to calculate the average of a damage roll xDy.
>
>The average of a die with reroll is:
>
>x is the average
>n is the number of sides
>
>x =  n(n+1)/(2n) + x/n
>
>Or, in words, the average is the sum of all sides divided by the number of
>sides, plus the average of a single roll divided by the number of sides
>(when you get an ace you reroll and the average of that roll is the average,
>but the chance of getting it is just 1/n).

Hunh. I hadn't thought of defining it recursively like that. Your math does
appear to check out. Well done.

Makes one wonder if Shane & Co. actually sat down and did all this math before
they made the game...

--Robert Holland