The diagram shows $y=\dfrac1{x^2+1}$ for $0\leqslant x\leqslant1$, together with $n$ rectangles of width $\dfrac1n$.
(a) Show that $$\sum_{r=1}^n\frac{n}{n^2+r^2}<\frac\pi4.$$ [5]
(b) Find a lower bound for the sum, in terms of $n$ and $\pi$. [4]
(c) Deduce the exact value of $$\lim_{n\to\infty}\sum_{r=1}^n\frac{n}{n^2+r^2}.$$ [1]