Sum of a series: Difference between revisions

added R
(added R)
Line 217:
=={{header|Python}}==
<python>print sum(1.0 / x ** 2 for x in xrange(1, 1001))</python>
 
=={{header|R}}==
print( sum( 1/seq(1000)^2 ) )
 
=={{header|UnixPipes}}==
Anonymous user