If I have understood correctly, you want to evaluate: $$A=\lim_{n\to+\infty}\sum_1^nf(x_i)\Delta x, ~~f(x)=\frac{-x^2}{4}+6$$ Set $\Delta x=\frac{4-0}{n}$ in which we divide the closed interval $[0,4]$ into $n$ sub intervals, each of length $\Delta x$. In fact $$x_0=0, x_1=0+\Delta x, x_2=0+2\Delta x,...,x_{n-1}=0+(n-1)\Delta x, x_n=4$$ Since, the function $f(x)$ is decreasing on the interval, so the absolute min value of $f$ on the $i$th subinterval $[x_{i-1},x_i]$ is $f(x_i)$. But $f(x_i)=f(0+i\Delta x)$ as you see above and then $$f(x_i)=-\frac{(i\Delta x)^2}{4}+6=-\frac{i^2\Delta^2x}{4}+6$$
Now, let's try to find the above summation: $$A=\lim_{n\to+\infty}\sum_1^nf(x_i)\Delta x=\lim_{n\to+\infty}\sum_1^n\left(-\frac{i^2\Delta^2x}{4}+6\right)\Delta x$$ wherein $\Delta x=\frac{4}{n}$.
