From Wikipedia, the free encyclopedia
La bildo estas kopiita de wikipedia:en. La originala priskribo estas:
Bertrand's paradox -- distribution of midpoints of chords chosen at random, solution 1
This image is an original work by Robert Dodier (User:Wile E. Heresiarch).
Here are the commands (of the R programming language) by which this image was created.
n <- 10000
r1 <- runif (n) * 2 * pi
r2 <- runif (n) * 2 * pi
x1 <- cos (r1)
y1 <- sin (r1)
x2 <- cos (r2)
y2 <- sin (r2)
x <- (x1 + x2)/2
y <- (y1 + y2)/2
z <- sqrt(x^2+y^2)
sum(z<1/2)
plot (x, y, pch='.', col='red')
dev2bitmap (file='bertrand1-scatterplot.jpeg', type='jpeg',
res=288, height=8, width=8)
|
This file is licensed under Creative Commons Attribution ShareAlike 2.0 License (cc-by-sa-2.0). In short: you are free to share and make derivative works of the file under the conditions that you appropriately attribute it, and that you distribute it under this or a similar cc-by-sa license.
|
[edit] Historio de la dosiero
Legend: (cur) = this is the current file, (del) = delete this old version, (rev) = revert to this old version.
Click on date to download the file or see the image uploaded on that date.
File history
Click on a date/time to view the file as it appeared at that time.
| Date/Time | Dimensions | User | Comment |
current | 17:18, 18 March 2006 | 288×288 (17 KB) | Maksim | |
File links
No pages on the English Wikipedia link to this file. (Pages on other projects are not counted.)