[ 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


View post   

File: 49 KB, 642x274, file.png [View same] [iqdb] [saucenao] [google]
12423823 No.12423823 [Reply] [Original]

Post your face when.

>> No.12423837
File: 83 KB, 3000x3000, 1606310412638.png [View same] [iqdb] [saucenao] [google]
12423837

>>12423823

>> No.12423842

>>12423823
install gentoo

>> No.12423854

what the FUCK are we looking at?

>> No.12423875

I'd have thought the random average distribution looked more like a bell curve, and that the higher the samples, the closer the average would approach 50.

>> No.12423916
File: 41 KB, 249x224, 1607153862964.png [View same] [iqdb] [saucenao] [google]
12423916

the global consciousness dot must have turned blue again

>> No.12423924


>>> from random import *
>>> def f(x): return sum(1/random() for i in range(x)) / x
...
>>> [f(10**i) for i in range(9)]
[1.2166239601131894, 3.1513368267645947, 13.067284342569916, 11.76475693070929, 26.233379825187278, 11.293376908117354, 19.769171231564766, 16.014107767470772, 17.596068819773738]

>> No.12423934

>>12423875
OP is taking the inverse of the random numbers so the distribution is no longer uniform and you would expect the "average" to go up in this case the more samples you take because there is a huge tail going to infinity.