User Tools

Site Tools


randomlengths

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
randomlengths [2021/05/06 13:38] frchrisrandomlengths [2021/05/06 13:39] (current) frchris
Line 1: Line 1:
-====== Random Segments in a Square ======+{{ ::randomlength.java |}}====== 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 15: Line 15:
 {{::screen_shot_2021-05-06_at_10.30.13_am.png?100|}} {{::screen_shot_2021-05-06_at_10.30.13_am.png?100|}}
  
-{{ ::randonlength.java |RandomLength.java}}+{{ ::randomlength.java |RandomLength.java}}
  
  
randomlengths.txt · Last modified: 2021/05/06 13:39 by frchris

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki