Numerical methods problem

In class we discussed two methods of integration: the trapezoidal rule and Simpson’s rule Here you will apply these formulas to the integration of a function and compare the two methods (a) Write a MATLAB script file to integrate a function contained in an m-file using the trapezoidal rule (b) Write a MATLAB script file to integrate a function contained in an m-file using Simpson’s rule (c) Use your numerical integrators to evaluate e-* sin(2x)
PayPal Gateway not configured
PayPal Gateway not configured