Ask the integral panel for 1/(1+x^2) between 0 and 1 and it returns 0.785398163397. That is π/4: the antiderivative is arctan x, arctan 1 is 45°, and 45° is a quarter of a half-turn. On the workbench π/4 prints as 0.78539816339745, so the two screens differ only in how many digits they are willing to show.
The series comes from the same integral. For x below 1, 1/(1 + x²) is the geometric series 1 − x² + x⁴ − x⁶ + …, and integrating term by term on [0, 1] gives 1 − 1/3 + 1/5 − 1/7 + … = π/4, the same Gregory–Leibniz series that this bank's companion problem draws as an area under a curve. The step at x = 1 is the delicate one — the series converges conditionally there, and slowly: the seven-term version in the third link is 0.82093462093462, still four and a half percent above π/4, and a million terms would still leave π wrong in the sixth decimal.
Answer
0.785398163397
How to read it
The integral panel for 1/(1 + x²) on [0, 1], i.e. arctan 1. The same quarter-π on the workbench prints 0.78539816339745.
Source
∫ dx/(1 + x²) = arctan x, so the definite integral on [0, 1] is π/4; termwise integration of 1 − x² + x⁴ − … is the Gregory–Leibniz derivation (Gregory 1668, Leibniz 1673)
Work it in the calculator
These links open the right calculator with this problem's numbers already typed in. The line above is what the screen should show — check it yourself.