Uisce Beatha
Amazing Technicolor Dreamcoat From: In the Jar
Karma: 116 Posts: 7357
OfflineGet me the tank!
|
|
Re: [sm_scratch]
« Reply #45 on: February 11, 2008, 03:52:05 PM » |
|
Unpossible. We haven't consumed remotely close to 36230 bags.
further, it doesn't mean you need to eat 36320 to get 1 occurrence. it means if you want to get say 100 occurences , on average, over time, you'd need to eat 100* 36230 bags (+/- some variance) I understand. I was going FTW.
|
|
|
Logged
|
"If you're darker than a caramel, Reverend Al speaks for you." - Aasif Mandvi "Well, you can tell by the way I use my walk, I'm a woman's man: no time to talk." - stroh
|
|
|
Aske
Lederhosen
Karma: 120 Posts: 31405
Offline
|
|
Re: [sm_scratch]
« Reply #46 on: February 11, 2008, 03:52:28 PM » |
|
|
|
|
Logged
|
Russia has invaded a sovereign neighboring state and threatens a democratic government elected by its people. Such an action is unacceptable in the 21st century. -- Chimpy McFlightsuit, CEO of Bu$hco Industries of 'Merka
|
|
|
Aske
Lederhosen
Karma: 120 Posts: 31405
Offline
|
|
Re: [sm_scratch]
« Reply #47 on: February 11, 2008, 03:54:16 PM » |
|
oh dear god, i just re-read the problem carefully and realized i was OVER-constraining it. i was doing it in strict chain order B-B-B-B-G-B-B-B-B-G you meant: sampel of 5 in any order , with 4 blue and 1 green, repeat. didn't you. grrrrrrrrrrrr
|
|
|
Logged
|
Russia has invaded a sovereign neighboring state and threatens a democratic government elected by its people. Such an action is unacceptable in the 21st century. -- Chimpy McFlightsuit, CEO of Bu$hco Industries of 'Merka
|
|
|
Aske
Lederhosen
Karma: 120 Posts: 31405
Offline
|
|
Re: [sm_scratch]
« Reply #48 on: February 11, 2008, 03:55:24 PM » |
|
oh dear god, i just re-read the problem carefully and realized i was OVER-constraining it. i was doing it in strict chain order B-B-B-B-G-B-B-B-B-G you meant: sampel of 5 in any order , with 4 blue and 1 green, repeat. didn't you. grrrrrrrrrrrr if so, i'll fix it tomorrow. the odds will go WAY up.
|
|
|
Logged
|
Russia has invaded a sovereign neighboring state and threatens a democratic government elected by its people. Such an action is unacceptable in the 21st century. -- Chimpy McFlightsuit, CEO of Bu$hco Industries of 'Merka
|
|
|
Uisce Beatha
Amazing Technicolor Dreamcoat From: In the Jar
Karma: 116 Posts: 7357
OfflineGet me the tank!
|
|
Re: [sm_scratch]
« Reply #49 on: February 11, 2008, 03:55:40 PM » |
|
oh dear god, i just re-read the problem carefully and realized i was OVER-constraining it. i was doing it in strict chain order B-B-B-B-G-B-B-B-B-G you meant: sampel of 5 in any order , with 4 blue and 1 green, repeat. didn't you. grrrrrrrrrrrr Yes. Please redo the problem and have it on my desk by morning.
|
|
|
Logged
|
"If you're darker than a caramel, Reverend Al speaks for you." - Aasif Mandvi "Well, you can tell by the way I use my walk, I'm a woman's man: no time to talk." - stroh
|
|
|
stroh
Sleeveless Hoodie From: Impact Crater Springs, CA
Karma: 155 Posts: 16135
OfflineWe're doomed!
|
|
Re: [sm_scratch]
« Reply #50 on: February 11, 2008, 04:32:16 PM » |
|
LOL
So Aske, you didn't tell it that's is ok to draw:
GBBBB BGBBB BBGBB BBBGB
?
|
|
|
Logged
|
|
|
|
Aske
Lederhosen
Karma: 120 Posts: 31405
Offline
|
|
Re: [sm_scratch]
« Reply #51 on: February 11, 2008, 04:38:18 PM » |
|
LOL
So Aske, you didn't tell it that's is ok to draw:
GBBBB BGBBB BBGBB BBBGB
?
LOL, no, i read WAY too much into UB's initial post (too literal) no matter, revising my program will be simple overnight (the broader problem is actually far easier to code!) ... AND... we now have the answer to the far harder problem .
|
|
|
Logged
|
Russia has invaded a sovereign neighboring state and threatens a democratic government elected by its people. Such an action is unacceptable in the 21st century. -- Chimpy McFlightsuit, CEO of Bu$hco Industries of 'Merka
|
|
|
stroh
Sleeveless Hoodie From: Impact Crater Springs, CA
Karma: 155 Posts: 16135
OfflineWe're doomed!
|
|
Re: [sm_scratch]
« Reply #52 on: February 11, 2008, 04:56:55 PM » |
|
Let's also not gloss over, and grant a free pass on several other pressing issues.
I think seldom does the question get asked enough, that is 5 M&M's an acceptable serving? Was this a grab, or a pour? It does matter.
And I'm not sure I like your usage of pluralizing M&Ms in your query. The candy it self is an M&M. Collectively, more than one piece are M&M's.
Unless of course they could mean the possessive of the candy belonging to Messrs Mars and Murrie.
i.e. four blue and one green Mars and Murries' is sis is candy.
I sincerely doubt the latter.
|
|
|
Logged
|
|
|
|
Uisce Beatha
Amazing Technicolor Dreamcoat From: In the Jar
Karma: 116 Posts: 7357
OfflineGet me the tank!
|
|
Re: [sm_scratch]
« Reply #53 on: February 11, 2008, 05:40:32 PM » |
|
Clowns to the north of me. Jokers too.
|
|
|
Logged
|
"If you're darker than a caramel, Reverend Al speaks for you." - Aasif Mandvi "Well, you can tell by the way I use my walk, I'm a woman's man: no time to talk." - stroh
|
|
|
dystopia
Amazing Technicolor Dreamcoat From: Silicon Valley
Karma: 94 Posts: 7929
Offline
|
|
Re: [sm_scratch]
« Reply #54 on: February 11, 2008, 06:10:24 PM » |
|
And I'm not sure I like your usage of pluralizing M&Ms in your query. The candy it self is an M&M. Collectively, more than one piece are M&M's.
I vote for M&Ms over M&M's. But then again, I could easily be convinced otherwise. I'm kind of like the Rolfe of Grammar Nazis. Rolfe: Not another move! Or I’ll shoot! Captain: You’re only a boy. You don’t really belong to them. Rolfe: Stay where you are. Captain: Come away with us. Before it’s too late. Rolfe: Not another step. I’ll kill you. Captain: You give that to me, Rolfe. Rolfe: Do you hear me? I’ll kill you. Captain: Rolfe! You will never be one of them.
|
|
|
Logged
|
|
|
|
Spanky
Full Metal Jacket
Karma: 48 Posts: 4842
Offline
|
|
Re: [sm_scratch]
« Reply #55 on: February 11, 2008, 06:40:13 PM » |
|
Where in the world can you get a PhD all fired up about calculating the odds of pulling out a certain colored M&M from a bag that he created a program to calculate it, then realize he didn't give the program the right variable that he will fix it the next day?
Bet your looking at that diploma feeling real proud right about now.
Why don't you calculate the odds of people understanding what is going to happen to their 2008 tax return with this prebate check.
|
|
|
Logged
|
|
|
|
Clive
Full Metal Jacket
Karma: 77 Posts: 4358
Offline
|
|
Re: [sm_scratch]
« Reply #56 on: February 11, 2008, 06:42:23 PM » |
|
So long, farewell, auf wiedersehen, good night, I hate to go and leave this nerdy thread. So long, farewell, auf wiedersehen, adieu, Four blue, a green, no yellow, brown or red.
|
|
|
Logged
|
|
|
|
stroh
Sleeveless Hoodie From: Impact Crater Springs, CA
Karma: 155 Posts: 16135
OfflineWe're doomed!
|
|
Re: [sm_scratch]
« Reply #57 on: February 11, 2008, 06:43:26 PM » |
|
Where in the world can you get a PhD all fired up about calculating the odds of pulling out a certain colored M&M from a bag that he created a program to calculate it, then realize he didn't give the program the right variable that he will fix it the next day?
GolfHos kicks ass!
|
|
|
Logged
|
|
|
|
Aske
Lederhosen
Karma: 120 Posts: 31405
Offline
|
|
Re: [sm_scratch]
« Reply #58 on: February 11, 2008, 06:43:46 PM » |
|
Bet your looking at that diploma feeling real proud right about now.
i never said i was that great at reading statistics problems.
|
|
|
Logged
|
Russia has invaded a sovereign neighboring state and threatens a democratic government elected by its people. Such an action is unacceptable in the 21st century. -- Chimpy McFlightsuit, CEO of Bu$hco Industries of 'Merka
|
|
|
Spanky
Full Metal Jacket
Karma: 48 Posts: 4842
Offline
|
|
Re: [sm_scratch]
« Reply #59 on: February 11, 2008, 06:48:27 PM » |
|
Bet your looking at that diploma feeling real proud right about now.
i never said i was that great at reading statistics problems. Just razzin ya a little. I've been doing a little drinkin and feeling a little froggy.
|
|
|
Logged
|
|
|
|