Question: Evaluate the following integral: int_0^(pi )(8-4sinx)dx (a) analytically (b) single application of the trapezoidal rule (c) composite trapezoidal rule with n=2 and 4(d) single application
Evaluate the following integral: \int_0^(\pi )(8-4sinx)dx (a) analytically (b) single application of the trapezoidal rule (c) composite trapezoidal rule with n=2 and 4(d) single application of Simpson's (1)/(3) rule (e) composite Simpson's (1)/(3) rule with n=4(f) Simpson's (3)/(8) rule (g) composite Simpson's rule, with n=5. For each of the numerical estimates (b) through (g), determine the true percent relative error based on (a).
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
