Question: a) Calculate the integral = (3^2 1)x by using function handles. b) Calculate the integral of the same function by using a uniformly spaced grid
a) Calculate the integral = (3^2 1)x by using function handles.
b) Calculate the integral of the same function by using a uniformly spaced grid and the trapz function. Calculate the minimum length of the grid so that | | < 10^6.
BOTH THE PARTS USING MATLAB
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
