Integral calculus in economics