HP Forums

Full Version: (200LX) N Dice with M Faces
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Entered as a solver function, enter number of dice under

Dice

& number of equally probable faces of each die as

Faces.

nb Faces does not have to be geometrically possible, any positive integer value is valid.

Actuate

Throw

to return the sum of the thrown dice.

nb SIGMA is Greek capital sigma.

Code:

Throw=SIGMA(i,1,Dice,1,IP(Faces*RAN#)+1)
Reference URL's