This was a problem in my test this morning. I was not able to answer it. :( But I thought it was pretty interesting, and would like to know the answer. Could you guys help me out? :)

$\displaystyle \displaystyle \lim_{k \to \infty}\sum_{n=1}^k \frac{n^2}{n^2+k^2}$