To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.off-topic.geekOpen lugnet.off-topic.geek in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Off-Topic / Geek / 4185
  Re: math question (or pattern... whatever...)
 
(...) I don't quite get why this works-- if you're doing rand($#bag), won't that always pick r, r, or w for the 1st value? Hence, theoretically, you could pick "wb", which isn't in your sample set... on the other hand, you're increasing the chance (...) (22 years ago, 3-Mar-03, to lugnet.off-topic.geek)
 
  Re: math question (or pattern... whatever...)
 
(...) doh, you're right :) Also, I was calculating the chance of getting 2 red marbles, in general, not checking the chance given the first one was red... :) That's what you get when you do an experiment, and have an expected solution in your (...) (22 years ago, 4-Mar-03, to lugnet.off-topic.geek)

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR