Do you want results only for Trapezoidal and Simpson S Rule MATLAB?