I am trying to calculate the sum of a A = $\sum_{1}^{\infty}\frac{1}{n^2 + 0.4}$ with precision $0.5\cdot 10^{-7}$
$R_{method} = |A - S_{N}| = \sum_{N+1}^{\infty}\frac{1}{n^2 + 0.4}$
$\sum_{N+1}^{\infty}\frac{1}{n^2 + 0.4} < \int_{N}^{\infty}\frac{dx}{x^2 + 0.4} < \int_{N}^{\infty}\frac{dx}{x^2} = \frac{1}{N} < 0.25 \cdot 10^{-7} \rightarrow N > 4 \cdot 10^7$
$S = \sum_{1}^{10^7}\frac{1}{n^2 + 0.4} = 1.3288275$
I have improved the convergence:
$\lim_{n -> \infty} \frac{a_{n}}{\frac{1}{n^2}} = lim_{n -> \infty}\frac{n^2}{0.4 + n^2} = 1$
$b_{n} = \frac{1}{n^2 + 0.4} - \frac{1}{n^2} = \frac {-0.4}{(n^2 + 0.4)n^2}$
$B = \sum b_{n} $
$R_{method} = |B - \overline{S_{N_0}}| = \sum_{N_{0} + 1}^{\infty}\frac {0.4}{(n^2 + 0.4)n^2} < \int_{N_{0}}^{\infty}\frac{0.4 dx}{x^4} = \frac{2} {15 N_{1}^3} < 0.25*10^{-7} \rightarrow N_{0} > 200 \cdot (\frac{2}{3})^\frac{1}{3}$
$200 \cdot (\frac{2}{3})^\frac{1}{3} < 175 $
$S_{0} = \sum_{1}^{175}\frac{-0.4}{(n^2 + 0.4)n^2} + \frac{\pi^2}{6} = 1.3288276$
Please tell me: Why aren't 7 digits after the decimal point equal in $S_{0}\: and \: S$?
A digit is called correct if the absolute error of the number does not exceed $\frac{1}{2}$ of the corresponding digit. $A_{x^{}} \leq \frac{1}{2} 10^{-m} A_{x^{}} - absolute : error$
In my case, the digit 7 after the improvement is by definition correct, but as we can see, this is not true
– Sh VavilenT Sep 26 '20 at 09:27