Question: (10 points)Consider the following integral041-e-xdxa. Evaluate the integral analytically.b. Evaluate the integral using the trapezoidal rule with n=1,2, and 4. For each case, calculate the
(10 points)Consider the following integral041-e-xdxa. Evaluate the integral analytically.b. Evaluate the integral using the trapezoidal rule with n=1,2, and 4. For each case, calculate the relative error.c. Evaluate the integral using the Simpson's 13 rule with n=1,2, and 4. For each case, calculate the relative error.Comment on the accuracy of the methods used above.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
