Constrained random points on a circle: Difference between revisions
Constrained random points on a circle (view source)
Revision as of 07:57, 28 October 2022
, 1 year ago→{{header|jq}}: tidy
(→{{header|jq}}: tidy) |
|||
Line 2,135:
def annulus($min; $max) : ss as $sum | select($min <= $sum and $sum <= $max);
limit(100;
| select( annulus(100; 225)) ))
| "\(.[0]) \(.[1])"
' > rc-annulus.dat
|