(adsbygoogle = window.adsbygoogle || []).push({}); How to calculate this certain probability in dicerolls?

Hi,

I am writing a game in which AT LEAST a 5 and 4 must be rolled with 2,3,4,5,6 and 7 dice. To calculate this probability I got stuck with the binomial formula nCk*p^k*q^(n-k).

I am looking for the formula that gives the solution to the question what this probability is.

I used a Monte Carlo simulation to check my formula but couldn't get close enough.

I used the formula nPk*p^k*q^(n-k), note the permutational formula, because a 5, then a 4 is different form a 4, then a 5....

On 7 dice the error was consistent but not to be overlooked.

How do I get to the right formula?

thanks for your help!

Marc

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# How to calculate probability in dicerolls?

**Physics Forums | Science Articles, Homework Help, Discussion**