Sum of a series: Difference between revisions

Content added Content deleted
m (Updated description and link for Fōrmulæ solution)
Line 1,594: Line 1,594:
<pre>-Psi(1, 1001)+(1/6)*Pi^2</pre>
<pre>-Psi(1, 1001)+(1/6)*Pi^2</pre>


=={{header|Mathematica}}==
=={{header|Mathematica}}/{{header|Wolfram Language}}==
This is the straightforward solution of the task:
This is the straightforward solution of the task:
<lang mathematica>Sum[1/x^2, {x, 1, 1000}]</lang>
<lang mathematica>Sum[1/x^2, {x, 1, 1000}]</lang>