Page 2 of 2 FirstFirst 12
Results 16 to 17 of 17

Math Help - Rolling the dice! - A question of probability

  1. #16
    MHF Contributor undefined's Avatar
    Joined
    Mar 2010
    From
    Chicago
    Posts
    2,340
    Awards
    1
    Quote Originally Posted by Wilmer View Post
    This picks 10 numbers at random from 1 to 100, adds 6 to the numbers picked,
    and returns the highest of the 10 resulting numbers.
    Actually it picks numbers in the range 0 to 99, I didn't bother to do the offset since we're just comparing the two groups.

    Quote Originally Posted by Wilmer View Post
    NOTE: if above returned number > 100, this may be skipped:
    Good point! (Although the condition will be > 99 because of the above comment.)

    And everything else is as you say; your reading of the code is correct.

    Quote Originally Posted by Wilmer View Post
    I agree with your results.
    Ran 10 million cases each for add = 3 to 7; rounded (add: [ties], 15group, 10group):
    3: [49],434,566
    4: [44],387,613
    5: [40],346,654*
    6: [36],308,692*
    7: [33],275,725
    * quite close to yours!!
    Thanks for taking the time to do this!

    Added note: After googling UBASIC, I'm surprised and interested to read that it has specialized use for number theory topics. I've done a bit of QBASIC so I'm familiar with some syntax, but somehow I never thought BASIC and things like integer factorization would get paired up. Pretty cool..
    Last edited by undefined; July 19th 2010 at 06:08 AM.
    Follow Math Help Forum on Facebook and Google+

  2. #17
    MHF Contributor
    Joined
    Dec 2007
    From
    Ottawa, Canada
    Posts
    3,110
    Thanks
    68
    Quote Originally Posted by Zipperz View Post
    The simulation should be fine. So basically if you have to add around +5 to a 20 sided die you would have to add 25 to the 100 sided correct?
    No. Forget about my "scenario" dividing by 5; I jumped the gun!
    See Undefined's and my last post: 5 (or 6) instead of your initially mentionned 10 is the answer.
    Follow Math Help Forum on Facebook and Google+

Page 2 of 2 FirstFirst 12

Similar Math Help Forum Discussions

  1. Rolling dice probability
    Posted in the Statistics Forum
    Replies: 1
    Last Post: December 15th 2011, 07:22 AM
  2. Rolling 5 dice probability
    Posted in the Statistics Forum
    Replies: 3
    Last Post: May 27th 2009, 02:35 PM
  3. Probability of rolling two dice
    Posted in the Statistics Forum
    Replies: 2
    Last Post: April 19th 2009, 11:35 AM
  4. Replies: 2
    Last Post: February 22nd 2009, 11:37 PM
  5. Probability of rolling 2 dice
    Posted in the Advanced Statistics Forum
    Replies: 1
    Last Post: January 29th 2008, 10:33 PM

Search Tags


/mathhelpforum @mathhelpforum