Accumulation Function CalcLens
Pick a starting point a, then slide x to the right. The area swept out under f is recorded as the height of a second graph. That second graph is the accumulation function .
Type it the way you write it: 2x-2, sin(x),
x^2, e^(-x^2), 1/x, sqrt(x).
Top: f, with the area from a to x shaded. Drag anywhere on this graph to move x.
Bottom: the accumulation function A. Its height is the shaded area above.