[ 3 / biz / cgl / ck / diy / fa / ic / jp / lit / sci / vr / vt ] [ index / top / reports ] [ become a patron ] [ status ]
2023-11: Warosu is now out of extended maintenance.

/sci/ - Science & Math

Search:


View post   

>> No.7990669 [View]
File: 114 KB, 671x288, Lsnk8A1.png [View same] [iqdb] [saucenao] [google]
7990669

>>7990630
>Your program picks a gold ball and then records how often the other ball in the box is gold.
No, my program picks a RANDOM ball, and discards the cases where the first ball is silver.

>one where a random box is picked, a gold ball is removed and the colour of the other ball is recorded
That's EXACTLY what my program does.

>in which case the ball would be gold 50% of the time.
Look at the output.
Out of a million tries, about half are gold-gold, 25% are gold-silver and 25% are silver-gold.
BUT, the silver-silver cases don't count towards the total, so half a million gold-gold out of 750k qualifying cases makes a 2/3 ratio.

How about instead of making vague pronouncements, YOU write a program that illustrates your point?

Navigation
View posts[+24][+48][+96]