
Originally Posted by
DaredevilWasAlreadyTaken
Goodday,
I'm writing an application and need to have it calculate the chances of rolling, for example a 4, 5 or 6 on a dice with the ability of a reroll. The current math I have is;
3/6 + (3/6 * 3/6) = 0.75 * 100 = 75%.
The problem I have is when I'm trying to have it calculate the chances of rolling a 3, 4, 5 or 6 with the reroll;
4/6 + (4/6 * 4/6) = 1.1111 * 100 = 111.11%
Which is ofcourse incorrect as you could still roll two 2's. What would be the correct calculation that I would need to use?
Thank you,
With regards,