GarfieldTheLightning

Zig candy chance

Aug 28th, 2020
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. Assumes that the chance of getting a Rare Candy from Pickup is 1%
  2.  
  3. Chance of 1 Zig not getting a Candy after 2 battles:
  4. 0.9 * (0.9 + 0.1*0.99) + 0.1*0.99
  5. = 0.9*0.999 + 0.099
  6. = 0.8991 + 0.099
  7. = 0.9981
  8.  
  9. Chance of 6 Zig not getting a Candy after 2 battles:
  10. 0.9981^6 = ~0.9887
  11.  
  12. Chance of 6 Zig getting a Candy after 2 battles:
  13. 1 - 0.9981^6
  14. = ~0.0113
  15. = 1.13%
  16.  
Advertisement
Add Comment
Please, Sign In to add comment