Interactive Riemann Sum Applet

Dynamic Riemann Sum Applet Controls:
  • the interval [a,b],
  • the number of rectangles, n,
  • the function, f(x), and
  • where along the width of each rectangle the height is sampled from, ranging from p=0 (the left side) to p=1 (the right side).
What effect does it have if f(x) is discontinuous? Try something like f(x) = x - abs(x - 2) / (x - 2).