The document describes a program to calculate the area under a curve through numerical integration using rectangular approximations. It gives an example where the function is y=x^2+2x+1 over the domain from 0 to 10, and the user inputs the number of intervals to divide the domain into to compute the approximate area as the sum of the areas of rectangles.