Image:Bertrand3-scatterplot.jpeg
From Wikipedia, the free encyclopedia
Bertrand3-scatterplot.jpeg (288 × 288 pixel, file size: 17 KB, MIME type: image/jpeg)
Bertrand's paradox -- distribution of midpoints of chords chosen at random, solution 3
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 n <- floor (4/pi*n) x <- runif (n) * 2 - 1 y <- runif (n) * 2 - 1 z <- sqrt (x^2 + y^2) i <- z < 1 sum (i) x <- x[i] y <- y[i] plot (x, y, pch='.', col='red') dev2bitmap (file='bertrand3-scatterplot.jpeg', type='jpeg', res=288, height=8, width=8)
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
Subject to disclaimers.
This image is licensed under the Creative Commons Attribution ShareAlike License v. 2.0: http://creativecommons.org/licenses/by-sa/2.0/ |
File history
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.
- (del) (cur) 04:43, 21 August 2004 . . Wile E. Heresiarch (Talk | contribs) . . 288×288 (17,479 bytes) (Bertrand's paradox -- distribution of midpoints of chords chosen at random, solution 3)
- Edit this file using an external application
See the setup instructions for more information.