Description
Worksheet 7
Write a MATLAB function/script that performs the following tasks.
Approximate: Z 4
0
2x
x
2 + 2
dx.
(a) Using the composite Trapezoidal rule with n = 8
(b) Using the composite Simpson’s rule with n = 8
(c) Display the final solution for each method along with the exact solution.
Name your file: WS7_LastName_FirstInital()
Submit your MATLAB code file to Dropbox no later than Saturday (11:59pm), 10/17
1