Sum of a series: Difference between revisions
add →Joy
(→{{header|Ruby}}: use 'sum' and Rational) |
(add →Joy) |
||
Line 1,465:
{{Out}}
<syntaxhighlight lang="javascript">1.6439345666815615</syntaxhighlight>
=={{header|Joy}}==
<syntaxhighlight lang="joy">0 0 1000 [1.0 swap succ dup dup [* / +] dip] times pop.</syntaxhighlight>
{{out}}
<pre>1.64393</pre>
=={{header|jq}}==
|