# Trapezoidal Rule Matlab Code

trapezoidal rule (also known as the trapezoid rule or trapezium rule) is a technique for approximating the definite integral.

The following Matlab project contains the source code and Matlab examples used for implementation of midpoint, trapezoidal, and simpson rule.
Implementation of the following methods to compute the integral numerically--
(a) Midpoint rule
(b) Trapezoidal rule
(c) Simpson’s rule
for NI intervals.