Introduction - If you have any usage issues, please Google them yourself
Composite trapezoidal rule and composite Simpson formula for the basic idea of programming composite trapezoidal rule and composite Simpson formula for calculating points. There matlab code and experiment report