User:Markkawika/Mathfoo
From Wikipedia, the free encyclopedia
If a WoW mob drops a desired item with a drop rate of N (a real number between 0.0 and 1.0, how many runs, on average, must a player make before he sees the given epic drop?
First, we must establish that this is a short-circuiting procedure. In other words, as soon as the player sees the item drop, he stops trying to get the item. This means it makes more sense to calculate the failure chance than the success chance of an item dropping.
The math for this is easy. If the drop rate is N, then the failure chance in one run is 1.0 − N. Thus, the failure rate after R runs is:
- (1.0 − N)R
Thus the chance of successfully seeing the desired item drop after R runs is:
- 1.0 − (1.0 − N)R
But we want to know the average number of runs a player will have to make before seeing the item drop. Thus, we want to know what value of R will get the success rate to at least 0.5 (50%). We need to solve the following equation for R:
This tells us what exact number R must be to get the chances of success to exactly 0.5. This isn't reasonable, though, because R is a real number and we can only make an integer number of runs (how do you run Baron 6.973 times?). Thus, we must take the ceiling of the right-hand-side to tell us the average number of times a player must kill a mob in order to see a given item drop.
This gives us our final answer: