n = 12 (slider from 12 to 1000, step 1)
f = Function(1 / 8 * x^(2) - 1 / 2 * x + 2, 0, 12)
a = LowerSum(f, 0, 12, n)
b = UpperSum(f, 0, 12, n)