Evaluating limit from definition of integral I created a formula that uses rectangles to approximate the area under a curve. For this instance, the answer to this problem should be equal to the area under the parabola $y=x^2$ from $[0, 2]$, which is $8/3$.
$$\lim_{n\to \infty} \frac 2n \sum_{l=1}^{n-1} \frac{4l^2}{n^2}$$
I don't know how to evaluate this limit, though.  Any hints would be appreciated.

Using the sum of squares formula:
$$\lim_{n\to\infty} \frac{2}{n} \sum_{l=1}^{n-1} \frac{4l^2}{n^2}
=\lim_{n\to\infty} \frac{8}{n^3} \color{blue}{\sum_{l=1}^{n-1} l^2}
= \lim_{n\to\infty} \frac{8}{n^3} \color{blue}{\frac{n(n-1)(2n-1)}{6}}$$
As $n\to\infty$, this limit will approach the ratio of the highest powers of $n$: $16/6 = 8/3$:
$$\lim_{n\to\infty} \frac{8}{n^3} \frac{n(n-1)(2n-1)}{6}
= \lim_{n\to\infty} \frac{16n^3 - 24n^2 + 8n}{6n^3}
= \lim_{n\to\infty} \frac{8n^2 - 12n + 4}{3n^2}$$
