Project 1999

Go Back   Project 1999 > General Community > Rants and Flames

Closed Thread
 
Thread Tools Display Modes
  #11  
Old 10-13-2013, 08:02 PM
Barkingturtle Barkingturtle is offline
Planar Protector

Barkingturtle's Avatar

Join Date: Nov 2009
Posts: 1,230
Default

Thread would be funnier if instead of three bags she had three holes.

I can't be here all the time to tell you how to post.
  #12  
Old 10-13-2013, 09:30 PM
Classic Classic is offline
Banned


Join Date: Oct 2013
Posts: 59
Default

Those bags remind me of large loose squirrel testicles.

I would take the one of the left.
  #13  
Old 10-14-2013, 12:29 AM
Ahldagor Ahldagor is offline
Planar Protector

Ahldagor's Avatar

Join Date: Jun 2012
Location: Houston, TX
Posts: 4,556
Default

kill tunare and open all the bags
__________________
  #14  
Old 10-14-2013, 12:32 AM
Daldolma Daldolma is offline
Fire Giant


Join Date: Jun 2010
Posts: 644
Default

this was cool in the 70s when anyone still knew who the fuck monty hall was
  #15  
Old 10-14-2013, 12:51 AM
Ghost of White Ranger Ghost of White Ranger is offline
Banned


Join Date: Sep 2013
Posts: 24
Default

Quote:
Originally Posted by Bardalicious [You must be logged in to view images. Log in or Register.]
statistically, yes.. changing to the other bag increases your chances of winning the stone

isn't this common knowledge? lol
  #16  
Old 10-14-2013, 01:11 AM
Hasbinbad Hasbinbad is offline
Planar Protector

Hasbinbad's Avatar

Join Date: Oct 2009
Location: Vallejo, CA
Posts: 3,059
Default

Quote:
Originally Posted by Daldolma [You must be logged in to view images. Log in or Register.]
this was cool in the 70s when anyone still knew who the fuck monty hall was
lol ur old.
__________________
  #17  
Old 10-14-2013, 01:20 AM
r00t r00t is offline
Sarnak


Join Date: Jun 2013
Posts: 330
Default

Quote:
Originally Posted by Bardalicious [You must be logged in to view images. Log in or Register.]
isn't this common knowledge? lol
  #18  
Old 10-14-2013, 01:50 AM
r00t r00t is offline
Sarnak


Join Date: Jun 2013
Posts: 330
Default

I wrote a program after reading a lot of mathematicians were only convinced after seeing computer simulations. In 9000 trials, switching makes you win ~6000 (2/3), not switching only ~3000 (1/3)

Code:
#include <stdio.h>
#include <stdlib.h>

#define MONTY_TRIALS 9000

bool monty_hall_problem(bool switch_doors)
{
    bool doors[3] = { false, false, false };
    doors[rand()%3] = true;

    unsigned int choice = rand() % 3;
    return (switch_doors) ? !doors[choice] : doors[choice];
}

int main(int argc, char* argv[])
{
    int switch_wins = 0, no_switch_wins = 0;

    for (int i = 0; i < MONTY_TRIALS; ++i)
    {
        if (monty_hall_problem(true)) ++switch_wins;
        if (monty_hall_problem(false)) ++no_switch_wins;
    }

    printf("Switch: %d\tNo Switch: %d", switch_wins, no_switch_wins);

    return 0;
}
  #19  
Old 10-14-2013, 01:56 AM
r00t r00t is offline
Sarnak


Join Date: Jun 2013
Posts: 330
Default

I forgot to seed rand there but then I did and the same shit happens anyway DUh
  #20  
Old 10-14-2013, 04:25 PM
Systolic Systolic is offline
Sarnak


Join Date: May 2013
Posts: 216
Default

Monty Hall question.

Variable change. Always take the switch. You get an additional 17% equity.
Closed Thread


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 08:50 AM.


Everquest is a registered trademark of Daybreak Game Company LLC.
Project 1999 is not associated or affiliated in any way with Daybreak Game Company LLC.
Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.