Maybe someone can knock up a quick 10 line app that runs over a sufficient sample size to test it out. The results should tend towards the correct answer, surely? Either 1/2 or 2/3
ie
countSuccess =0;
for (i = 1 to 100,000)
{
array doors = {1,2,3}
c = getRandomCarPosition // will be 1 or 2 or 3
s = getRandomContenstantSelection // will be 1, 2 or 3
removeGoatDoorFromArray(doors, s); // array now have only 2 numbers in, one of which will be s and one (possibly the same one) will c.
s = swopSelection(doors, s); // s will become the other one in the array
if(s==c) countSuccess ++;
}
if count success approx 66000 then the theory is correct. Surely?
Otherwise its all bollox
ie
countSuccess =0;
for (i = 1 to 100,000)
{
array doors = {1,2,3}
c = getRandomCarPosition // will be 1 or 2 or 3
s = getRandomContenstantSelection // will be 1, 2 or 3
removeGoatDoorFromArray(doors, s); // array now have only 2 numbers in, one of which will be s and one (possibly the same one) will c.
s = swopSelection(doors, s); // s will become the other one in the array
if(s==c) countSuccess ++;
}
if count success approx 66000 then the theory is correct. Surely?
Otherwise its all bollox
Comment