Lời giải:
Xét \(1+\frac{1}{n^2}+\frac{1}{(n+1)^2}=\frac{n^2+1}{n^2}+\frac{1}{(n+1)^2}\)
\(=\frac{(n+1)^2-2n}{n^2}+\frac{1}{(n+1)^2}=\left(\frac{n+1}{n}\right)^2+\frac{1}{(n+1)^2}-\frac{2}{n}\)
\(=\left(\frac{n+1}{n}-\frac{1}{n+1}\right)^2=\left(1+\frac{1}{n}-\frac{1}{n+1}\right)^2\)
\(\Rightarrow \sqrt{1+\frac{1}{n^2}+\frac{1}{(n+1)^2}}=1+\frac{1}{n}-\frac{1}{n+1}\)
Áp dụng vào bài toán suy ra:
\(A=1+\frac{1}{2}-\frac{1}{3}+1+\frac{1}{3}-\frac{1}{4}+...+1+\frac{1}{2017}-\frac{1}{2018}\)
\(=2016+\frac{1}{2}-\frac{1}{2018}=2016,5-\frac{1}{2018}\)