in reply to Dice::Die
One other point; the calculation of theoretical average should be: my $theoreticalAve = ($dieType + 1) / 2; which is (max + min) / 2. Consider a two-sided die (marked 1 and 2); the expected average is 1.5, rather than 1. :)
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Dice::di
by ichimunki (Priest) on Jan 06, 2001 at 02:21 UTC | |
by chipmunk (Parson) on Jan 06, 2001 at 02:29 UTC | |
|
Re: Re: Dice::di
by ryddler (Monk) on Jan 06, 2001 at 02:33 UTC | |
by chipmunk (Parson) on Jan 06, 2001 at 02:37 UTC | |
|
Re: Re: Dice::di
by coreolyn (Parson) on Jan 06, 2001 at 02:17 UTC |