This demonstration calculates the area under a curve on a function
graph by approximating the line integral. A function F(x,y) and a
curve, written parametrically as C(t) = (x(t),y(t)), are given in the
control panel.
The 3D graph window shows the function graph (x,y,F(x,y)), the curve
C(t) in the domain, and its image F(C(t)) on the graph. The vertical
lines along the curve depict the number of partitions used to
integrate. The number of partitions can be changed by changing the
constant integralRes. The integral is only calculated over C(t), so
altering the range of t will affect the value of the integral.