If $a_n=\sqrt{n^2+2n}$ and $f(x)=x-\lfloor x \rfloor$, where $\lfloor x \rfloor$ is the floor function, then what is the limit $$\lim_{ n \to \infty }f(a_n) \ \ ?$$
I tried:
$\lim_{ n \to \infty }a_n=\lim_{ n \to \infty }\sqrt{n^2+2n}=\infty$
$\lim_{ n \to \infty }f(\infty)=?$