Raul -
I opened this as a "parallel thread" to not interfere (mess) with
your original one ...
Using the 'brute force' approach you mentioned (took me a while, but
I'm now with you, after I looked up 'Under" (&.:) again)
Random Generator arguments:
[1] pair of points, two points: 2
[2] no
mean=: +/ % #
mean >./@(0&,)@(_&q:)"0 }.i.1e4
1.70357
mean >./@(0&,)@(_&q:)"0 }.i.1e5
1.70504
I think you have to include 1 in the calculation (thus not use 2+i.n as the
argument).
On Tue, Jul 5, 2016 at 8:12 AM, mikel paternain
wrote:
>
>
> De: mike
Hi,
I don't have my PC at hand now, but what is the problem with your calculation?
I had never heard of Nivens constant, but looking at Wikipedia there is a
formula for it containing the zeta function.
Why not use this formula?
Zeta 2 3 4 are well known constants, and you can calculate or h
De: mikel paternain
Enviado: domingo, 3 de julio de 2016 12:07:37
Para: programming@forums.jsoftware.com
Asunto: Niven's constant
Hi,
I need improve the code for calculating Niven's constant. Could you help me?
A first test is (see "Computo ergo sum" section in
too easy
*//.~q: 4200
8 3 25 7
R.E. Boss
> -Original Message-
> From: Programming [mailto:programming-boun...@forums.jsoftware.com]
> On Behalf Of Kip Murray
> Sent: maandag 4 juli 2016 23:46
> To: programm...@jsoftware.com
> Subject: [Jprogramming] An easy one
>
> Consider
>
>
NB. Instead of ".y (monad do) use x".y (dyad numbers)
[FLOATING_FKJ=: _&".;._2 FKJ
1 _91.406 53.344 8.32
2 _91.297 53.222 0.916
3 _60.158 24.28 8.948
4 _60.135 24.278 1.521
5 _56.298 _19.1865.7
6 _13.269 _2.677 _1.444
7 _4.666 17.245 _1.605
8 _49.939 14.297 27.119
Notice my specification had (q:) "outside". Ric's brilliant solution meets
my specification. --Kip
On Tuesday, July 5, 2016, Martin Kreuzer wrote:
> Bill - Thanks; that's quite a shortcut -- my negligence: wasn't aware (q:)
> had also a dyadic use ...
>
> The closest I could get toward that ve
Bill - Thanks; that's quite a shortcut -- my
negligence: wasn't aware (q:) had also a dyadic use ...
The closest I could get toward that verb would now be
red=. [: ^/ __ & q:
red 4200
8 3 25 7
(didn't manage to keep (q:) "outside" ...)
-M
At 2016-07-05 11:10, you wrote:
q: in ^/__ q:
q: in ^/__ q:4200 is dyad
executed as
^/ ( __ q: 4200 )
Вт, 05 июл 2016, Martin Kreuzer написал(а):
> Please be patient while I elaborate;
>
> Ric -
> -
> Looking at your solution, I first read up on "Key" (x u /.. y) and came up
> with this example:
>
>2 3 2 3 3 (2&|)/. 9 5 7 6 4
>
Please be patient while I elaborate;
Ric -
-
Looking at your solution, I first read up on "Key" (x u /.. y) and
came up with this example:
2 3 2 3 3 (2&|)/. 9 5 7 6 4
1 1 0
1 0 0
which I interpreted as
* group the list on the left (2 2) (3 3 3), then
* partition the list on the right a
$ (-56.298 -19.186 5.700)
2
$ (_56.298 _19.186 5.700)
3
That's why!
Bo
Den 10:52 tirsdag den 5. juli 2016 skrev Papp Erik Tamás
:
Dear Forum!
Can someone give me a little help to calculate centrobaric coordinates?
Still my solution works well, but something become wrong.
NB
Dear Forum!
Can someone give me a little help to calculate centrobaric coordinates?
Still my solution works well, but something become wrong.
NB. load a list of coordinates from file
load'I:\FKJL.run'
NB. list of coordinates file XYZ
>FKJ
1 -91.406 53.344 8.320
2
12 matches
Mail list logo