Worked example: finding a Riemann sum using a table