\overline{S}(f,P)=\sum_{k=1}^{n}\sup_{x_{k-1}\le x \le x_{k}}f(x)(x_{k}-x_{k-1})