Definite integral as net area