Another response to what I actually said.  Interesting, but useless to show
much other than how unlikely two results are to be the same.  An updated
version is on the way.  In the meantime see my post this morning to Raul.
You can work on the verb  purr

-----Original Message-----
From: programming-boun...@jsoftware.com
[mailto:programming-boun...@jsoftware.com] On Behalf Of Aai
Sent: Wednesday, December 07, 2011 8:25 AM
To: Programming forum
Subject: Re: [Jprogramming] Many Turkey Rolls - No embargo

platonic=: 4 6 8 12 20
sumtoss=: 13 :'+/ 1 + ? y $ platonic'

    (#,{.)/.~ sumtoss&500"0  i.200
2 2713
1 2853
2 2792
2 2804
3 2698
1 2643
1 2752
1 2757
1 2837
1 2868
...

Theoretical mean value of one toss:

    -: +/ +/ 100 * 1 1 1 1 1,: platonic
2750

Empirically obtained with a simulation run:

    (+/%#) sumtoss&500"0 i.200
2749.46



-- 
Met vriendelijke groet,
@@i=Arie Groeneveld

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to