Create trapezoidal_rule