File:Numeric integration program.png

Draw lines from the X-axis of a graph to a curve, and add the areas of the lines (height × width.