Sum of a series: Difference between revisions

Riemann zeta(2)
(Forth, generic on bounds and function)
(Riemann zeta(2))
Line 1:
{{task}}Display the sum of a finite series for a given range.
 
For this task, use S(x) = 1/x^2, from 1 to 1000. (This approximates the Riemann zeta function. The Basel problem solved this: zeta(2) = π<sup>2</sup>/6.)
 
=={{header|C++}}==
Anonymous user