Jump to content
BrainDen.com - Brain Teasers

bubbled

Members
  • Posts

    93
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by bubbled

  1. I think have the answer to the second part:
  2. Is it OK assume exactly 4 busses per hour, but arriving at completely random times? I can simulate that. Clearly, if the city had the busses arrive at exactly 15 minute intervals, then wait times would average around 7.5 minutes. And no one would ever wait longer than 15 minutes.
  3. I think I figured out the first question:
  4. Agree with Ed on first part. Can you clarify the second question?
  5. Hmm: Hmm: Hidden Content Re-ran the script with a couple of changes:
  6. I just ran one more 100M simulation and captured a lot more info. Probability that a new random point will fall in the largest arc: 0.61104318 Mean of the arc length that captures the random point: 0.499978733972 Mean of the sums of the squared arc lengths: 0.500018084204 Median length of the longest arc: 0.591768881555 Histogram of the shortest arc lengths: Histogram of the middle arc lengths: Histogram of the longest arc lengths: I might be the only one, but I find these graphs to be interesting. Anytime you have two or more random variables and are trying to say things about their relationships to each other, things get pretty non-intuitive.
  7. I think it's interesting that the sum of the squares of the means doesn't match the mean of the sum of the squares. Maybe that shouldn't be interesting?
  8. OK, so I continued by using bonanova's idea of picking the arcs and then spinning the wheel. I used the same method as above (picking two random points) and creating three arcs. I then pick a random new point and find the length of the arc it falls in. I store those lengths in a separate array and find the mean length. With 100,000,000 million trials, I get 0.500034371498. This it what we'd expect. But I'm confused as to why the sum of the squares doesn't add up to .5 as well. It must be something to do with the distribution of the actual lengths of the arcs. Maybe because when the longest arc is bigger than the mean of the other longest arcs, the random point will fall in it more often? More simulations necessary to answer that question.
  9. I ran a simulation of 100,000,000 trials using bonanova's method (I think) on a unit circumference. I pick two random numbers, P1 and P2, between 0 and 1. If P1 < P2, then my three lengths are L1 = P1, L2 = P2 - P1, and L3 = 1 - P2. If P2 < P1, L1 = P2, L2 = P1 - P2, and L3 = 1 - P1. I sort the three lengths and put them into a matrix where the first column consists of all the shortest lengths, the second column is the middle length and the third column is the longest length. I then calculate the mean of the various columns. I get this result: mean of longest arcs = 0.611101750112 mean of middle arcs = 0.277769774084 mean of shortest arcs = 0.111128475804 This matches bonanova's results pretty closely and those lengths add up to 1, as expected. It would seem to me that the probability that a particular point falls in the longest arc should be 0.6111... And the middle arc 0.277... and shortest arc 0111... Which means that the average length of the arc that a random point (or fixed point) falls in should be the sum of the squares of the mean arc lengths. However, the sum of the squares is only 0.462950934519. I would expect it to be .5, given the analysis from the previous problem. I'm a bit confused. Thoughts?
  10. Hidden Content Hidden Content Hidden Content Expanding on my post of Sunday at 8:09 AM: Hidden Content I can't disagree with any of this. I was completely wrong and the fact that my answer matched with the correct answer blinded me to the fact that I was introducing an extra point into the problem. I now realize that you have to be very careful with how exactly you apply random conditions to problems like these.
  11. but then I realize it was not working. I've tested it using dev-C++. the chance to find your name is only 50%, the same chance with random way opening boxes. in my program : box numbered from 0 to 9, and your number is random from 0 to 9. You can only open 5 boxes to find your name. Yes, it does work:
  12. At a track meet, you have 25 runners for a 100 meter event and only 5 lanes. You've forgotten all of your timing devices at home. Assume that all runners {R1, R2,...R25} run the event in different times from each other, but an individual runner RN, will run the event in the same time each time he/she runs. Your job is to figure out who is the 1st, 2nd and 3rd fastest runners. What is the minimum number of heats needed to make your determination?
  13. I was close to answering, but didn't understand my result yet:
  14. Nope: Hidden Content my suspicion is that given that most people would pick a particular round to use their ability that there is in fact a particular advantage even if the expected payouts are the same. Maybe game theory should be utilized here over strict statistics?? This feels very subjective. I simulated the event using the three different options 1M times each. Here's what I get with graphs. Seems like it totally depends on your appetite for risk: Hidden Content One follow-up: Hidden Content would this not imply that the first two rounds use for the magic power are worst. Imagine that you are trying to beat your best score, your opponent is yourself. An opponent with the exact same power. Trying to do the best in this case, according to your previous post would include using this power at the end. Hence there is an advantage. OK, I agree, but it's really really thin. First of all, I might be a cowboy and want to maximize my chances of turning 8 into 128. In that case, I'd use the power on first two rounds. And who's to say that's wrong? if you put clear parameters in place, like "minimize chance of ruin," I'm totally with you. Also, if you offered me $.50 to use my power first two rounds, I'd be foolish not to. In the case where we are taking about $8 at risk, you can't make a definitive choice and say it's "right." If we say a player has to risk all the money they have in the world, now I'm feeling like it's clear that last two is right.
  15. Nope: Hidden Content my suspicion is that given that most people would pick a particular round to use their ability that there is in fact a particular advantage even if the expected payouts are the same. Maybe game theory should be utilized here over strict statistics?? This feels very subjective. I simulated the event using the three different options 1M times each. Here's what I get with graphs. Seems like it totally depends on your appetite for risk: Hidden Content One follow-up:
  16. Nope: Hidden Content my suspicion is that given that most people would pick a particular round to use their ability that there is in fact a particular advantage even if the expected payouts are the same. Maybe game theory should be utilized here over strict statistics?? This feels very subjective. I simulated the event using the three different options 1M times each. Here's what I get with graphs. Seems like it totally depends on your appetite for risk:
  17. A few clarifications. It seems like you are expecting there to be 4 rounds? In that case, there needs to be 16 teams. I'm also assuming that each game is 50-50 and you have no insight into the outcome?
  18. We done bonanova. Here's a link to his wiki page that mentions that bet: https://en.wikipedia.org/wiki/Titanic_Thompson Here's a good biography about him. Interesting life: http://www.amazon.com/Unsinkable-Titanic-Thompson-Carlton-Stowers/dp/0963401580 He certainly personifies my favorite line from Guys and Dolls: One of these days in your travels, a guy is going to show you a brand-new deck of cards on which the seal is not yet broken. Then this guy is going to offer to bet you that he can make the jack of spades jump out of this brand-new deck of cards and squirt cider in your ear. But, son, do not accept this bet, because as sure as you stand there, you're going to wind up with an ear full of cider.
×
×
  • Create New...