A scratch game has 16 covered squares, below which are, in some order, symbols representing 9 players (a pitcher, a catcher, and so on), 3 strikes (strike 1, strike 2, and strike 3), 1 hit, 1 home run, 1 bat, and 1 ball.
You start scratching squares randomly, and if you manage to get the hit and the home run you win (never mind other symbols) unless you already got the three strikes, because then you're out!
What are the odds of winning at this game?
Computer solutions welcome!
(In reply to
By Computer? by Old Original Oskar!)
brute force is def not necessary for this. you can simply have the #s 1-16, assign 1 as hit, 2 homerun, 3-5 strikes. choose random #s until either 1/2 are both hit, or 3-5 are. repeat until you feel confident that it has converged. 10000 is probably more than enough runs to see it hit about 60/40.
|
Posted by derek
on 2005-10-18 10:45:49 |