randomlengths
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| randomlengths [2021/05/06 13:34] – frchris | randomlengths [2021/05/06 13:39] (current) – frchris | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== Random Segments in a Square ====== | + | {{ :: |
| Pick two random points in a unit square. Find the distance between them. Do this a few million times to answer the question, "What is the average length of a random segment inside a square?" | Pick two random points in a unit square. Find the distance between them. Do this a few million times to answer the question, "What is the average length of a random segment inside a square?" | ||
| Line 14: | Line 14: | ||
| Get a random number from 0 to '' | Get a random number from 0 to '' | ||
| {{:: | {{:: | ||
| + | |||
| + | {{ :: | ||
randomlengths.1620322457.txt.gz · Last modified: 2021/05/06 13:34 by frchris