The integral is the area under the stairs from an initial horizontal position, A, to a final horizontal position, B, computed as the limit of the sum of the areas of the individual stairs underneath each discrete stair step as the horizontal width of the individual stairsteps tends to zero.