Use the slider to change the number of divisions. You can move the points a and b to change the limits of integration. By moving the points on the curve you can alter the curve.