N[Sum[1/(x^2 + 1), {x, 1, Infinity}], 5]
N[Sum[1/(x^2 + x + 1), {x, 1, Infinity}], 5]
1.0767
0.79815 + 0.*10^-6 I
What causes the strange number?
1.0767 0.79815 + 0.*10^-6 I What causes the strange number? |
|||||
|
|
Note that Mathematica can do the symbolic sums:
gives $$ \frac{1}{2} (-1 + \pi \coth[\pi]) $$ and
gives $$
-\frac{i \left(\psi ^{(0)}\left(1+\sqrt[3]{-1}\right)-\psi ^{(0)}\left(1-(-1)^{2/3}\right)\right)}{\sqrt{3}}
$$
(where $\psi^{(0)}(x)$ is Note also that using |
|||||||||||
|
|
There are several methods in
However there are still other ways to get the same result without methods specified, e.g. :
or
Note that we had to |
|||
|
|