Dismiss Notice
Join Physics Forums Today!
The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

I need help (Probability problem)

  1. Mar 3, 2012 #1
    I want a simulation ran for this problem:

    Assume that the goal in a game is to hit a total of 1000 damage before the other person does.

    Now, two people are both competing against each other in this goal to 1000 damage.

    Each person has an equal chance to beat each other to this thousand (they both hit at the same time, and if both of them hit >1000 at the same time, a random winner is chosen).

    Here's how the damage works:

    50% of the time (randomly), the people hit 0 (or miss).
    and, 50% of the time the people hit a random number in between 1 and 112.

    I want to know the standard deviation of how much the winner beats the other. EG: How often would the person who wins beat his opponent to 1000 by a margin of 30, and how much rarer would it be if he did it by 300, etc.

    The more simulations ran, the better. I want a small 95/99% confidence interval. If anyone could do this for me, that'd be great. And I would be forever grateful if anyone of you actually told me the formula to do this w/o having to run the simulation!
  2. jcsd
Share this great discussion with others via Reddit, Google+, Twitter, or Facebook

Can you offer guidance or do you also need help?