Trapezoidal Rule for Integration | Derivation