I just need help with problem 4. I attached problem 3 forcontext.
Problem 3 Using the parametrization method, compute numerically the value of (22ry 2) dydz. Write a MATLAB code (either a script file or function file) which, to achieve this goal, performs Gauss quadrature with N 2 points in r and Simpson’s method with 6 patches (i.e. 7 points total) in y. Submit the code(s) and the output Problem 4 Write a MATLAB code that generalizes
OR
OR