Math question #1 please show steps

Answer:
C
Step-by-step explanation:
An approximation of an integral is given by:
[tex]\displaystyle \int_a^bf(x)\, dx\approx \sum_{k=1}^nf(x_k)\Delta x\text{ where } \Delta x=\frac{b-a}{n}[/tex]
First, find Δx. Our a = 2 and b = 8:
[tex]\displaystyle \Delta x=\frac{8-2}{n}=\frac{6}{n}[/tex]
The left endpoint is modeled with:
[tex]x_k=a+\Delta x(k-1)[/tex]
And the right endpoint is modeled with:
[tex]x_k=a+\Delta xk[/tex]
Since we are using a Left Riemann Sum, we will use the first equation.
Our function is:
[tex]f(x)=\cos(x^2)[/tex]
Therefore:
[tex]f(x_k)=\cos((a+\Delta x(k-1))^2)[/tex]
By substitution:
[tex]\displaystyle f(x_k)=\cos((2+\frac{6}{n}(k-1))^2)[/tex]
Putting it all together:
[tex]\displaystyle \int_2^8\cos(x^2)\, dx\approx \sum_{k=1}^{n}\Big(\cos((2+\frac{6}{n}(k-1))^2)\Big)\frac{6}{n}[/tex]
Thus, our answer is C.
*Note: Not sure why they placed the exponent outside the cosine. Perhaps it was a typo. But C will most likely be the correct answer regardless.