Question: Develop a program in MATLAB/Excel that will integrate a function using the trapezoidal rule. It should allow the user to input the limits of integration

Develop a program in MATLAB/Excel that will integrate a function using the trapezoidal rule. It should allow the user to input the limits of integration and the step size. Use it to solve the following integral which has no analytical solution: integral^1_0 e^-x^2 dx Upload your code to the dropbox. Also give the answer from your code (display to 6 decimals) when you solve the above integral with step size h = 0.01
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
