Đặt \(2018=a\)
\(\Rightarrow\sqrt{1+2018^2+\frac{2018^2}{2019^2}}+\frac{2018}{2019}=\sqrt{1+a^2+\frac{a^2}{\left(a+1\right)^2}}+\frac{a}{a+1}\)
\(=\sqrt{\frac{\left(a^2+a+1\right)^2}{\left(a+1\right)^2}}+\frac{a}{a+1}=\frac{a^2+a+1}{a+1}+\frac{a}{a+1}=\frac{\left(a+1\right)^2}{a+1}=a+1=2019\)