4 ms·
Counter question. How to calculate how many tries it would take to reach a specific probability for an outcome? For example, how many times do I have to roll th
by dmos62 7y ago
Counter question. How to calculate how many tries it would take to reach a specific probability for an outcome? For example, how many times do I have to roll the dice to have 90% chance of death? Due to my field of work, I'd solve everything by bruteforce, but I wonder what a more elegant solution could be.
- wutbrodo 7y agoJust solve the equation above. 0.99^n = (1-0.9) n*log(0.99) = log(0.1) n = log(0.1)/log(0.99) = ~229