Definite Integral as a Limit of a Sum