\int_{a}^{b}f\left(x \right)dx\approx {C}_{0}h\sum_{i=0}^{n}{\omega }_{i}f\left({x}_{i} \right),