$ y=e^x $

I = Integral(exp(x), 0, 1)
n = 14 (slider from 0 to 100, step 1)
a = LeftSum(exp(x), 0, 1, n)
f(x) = exp(x)