Create Trapezoidal Rule

Another approximation tool to use. Similar to the midpoint rule