Problem:
Approximate the integral

by taking the average of the upper and lower Riemann sums with n=12.
Visualization:

These graphs were generated by Microcalc.
For this visualization, we have detailed instructions for the following software packages: