Talk:Constrained random points on a circle: Difference between revisions
Content added Content deleted
(Task description thought) |
|||
Line 8: | Line 8: | ||
1) Generate random pairs of integers and filter out those that don't satisfy this condition: |
1) Generate random pairs of integers and filter out those that don't satisfy this condition: |
||
10 \leq \sqrt{ x^2 + y^2 } \leq 15 |
<math>10 \leq \sqrt{ x^2 + y^2 } \leq 15 </math>. |
||
2) Precalculate the set of all possible points (there are 404 of them) and select randomly from this set.' |
2) Precalculate the set of all possible points (there are 404 of them) and select randomly from this set.' |