Dice rolling: experiment

A very interesting math problem with counterintuive emerged the web yesterday.

You throw a dice until you get 6. What is the expected number of throws (including the throw giving 6) conditioned on the event that all throws gave even numbers?  Original post

 At first I gave an incorrect answer, but then, after clearly figuring out what exactly happens if we roll an odd number, managed to understand why the correct number is correct.

So, I made this script to let you see what exactly happens with the sequence length expectation as we roll the die again and again. You can roll a die once or you can launch a whole experiment, which will end when you get 6.

 And in the meanwhile I'll get back to the development of my steampunk game

 

18 comments:

  1. Slimfire Forskolin in midriff measure as contrasted and men who drank dark tea Forskolin containing only 22 mg of catechins.
    http://supplementdigestdog.com/slimfire-forskolin/

    ReplyDelete
  2. This comment has been removed by the author.

    ReplyDelete
  3. Pure CBD Oil corrosive (ALA) which is a long-chain unsaturated fat. On the off chance that we can add all these sustenance sources.
    http://www.drozhealthblog.com/pure-cbd-oil/

    ReplyDelete
  4. Dermagen IQ Titanium Dioxide Titanium dioxide is a non-responsive, stable intensify that has practically no dermal Dermagen IQ for UK entrance in tests.
    http://www.drozhealthblog.com/dermagen-iq/

    ReplyDelete
  5. Perlelux Edifices, catalysts, and a nano-emulsified type of coenzyme Q10 Phytessence Wakame and grape seed oil enable you to keep.
    http://www.usadrugguide.com/perlelux-ca/

    ReplyDelete
  6. Nitridex I'm now 8 inches thanks to this method, and you can be too Are you looking for a manner to growth.
    http://supplementdigestdog.com/nitridex/

    ReplyDelete
  7. Zylix Plus don't recover those fundamental supplements into your body, and without them to drive the development procedure.
    http://www.drozhealthblog.com/zylix-plus/

    ReplyDelete
  8. Reducelant Garcinia levels with abstaining from food. You'll most likely experience at least one of the accompanying alongside your weight reduction Reducelant level.
    http://supplementdigestdog.com/reducelant-garcinia/

    ReplyDelete
  9. http://www.cureidea.com/garcinia-cambogia-plus-reviews/

    ReplyDelete
  10. Eating healthy, nutritious foods is the key to a healthy digestive system. It’s also very important to consider how we chew and break down food for proper digestion. The first step of digestion starts in your mouth. Teeth help break down foods and saliva has enzymes by which the digestive process starts. As you swallow food, muscles move it through the digestive tract. Food then is broken down and absorbed of nutrients needed by your body for health and development.


    http://www.reliablenutritions.com/keto-blaze

    ReplyDelete
  11. Keto Fit Supplement Exercising is the foremost method for quick weight loss still yes, that is still one of the better ways of slimming down that you can do almost anywhere to be on your way to safe and steady fat reduction. You can start off by taking these steps.

    Keto Fit Reviews For instance, instead of driving to a nearby supermarket, you can walk. Don't drive if your destination is within a comfortable walking distance. Talk a walk with your spouse. Cleaning the home also makes the body move more often.
    http://healthcarebloggs.blogspot.com/2018/09/keto-fit-supplement.html
    https://supplementwarriors.tumblr.com/post/178035760812/keto-fit-reviews

    ReplyDelete
  12. Keto Fit Diet There you have it. Exercising doesn't have to cost a fortune when you can do it at home anytime, day or night.Consume 5 smaller meals daily forget 3 big foods a full day, you can eat 5 smaller meals each full day. This real way,

    Keto Fit Reviews you can often strategy your daily calorie intake and enjoy 5 different meals instead of 3.You should never start the full moment off by skipping breakfast it is not smart to skip in breakfast as a way to lose fat. You is only going to become starving and eat things you shouldn't.
    https://revolutionizedgg.tumblr.com/post/178035988180/keto-fit-diet
    https://healthfitnessblogss.weebly.com/fitness-blog/keto-fit-reviews

    ReplyDelete

Categories

action (3) advice (2) arcade (4) art (3) attention (1) beta (1) board (1) cards (1) civilization (2) collection (3) conference (1) contest (3) cooperation (1) defense (1) development (10) educational (1) experiment (4) fast (2) forum (1) game design (2) gamedev (7) games (1) gif (9) history (1) idle (5) jam (2) list (1) logics (2) math (1) mobile (3) monetization (1) multiplayer (1) notebook (1) numbers (2) paint (1) physics (1) process (10) puzzle (5) quiz (2) reaction (1) relax (1) released game (16) review (1) screenshotsaturday (7) script (1) SDK (1) series (1) shooter (1) simultor (1) skill (4) snow (1) speed (1) spinner (1) statistics (1) steampunk (12) strategy (10) teaser (1) testing (1) think (1) timelapse (1) turn-based (7) tutorial (2) update (7) video (12) web (2) winter (1) work in progress (1)