New inequalities obtained by means of the quadrature formula