A MODIFIED MECHANICAL QUADRATURE FORMULA AND ITS EXTENSIONS. (2017)