13. Let f(x)and consider the integral 1= | f(x) dr. 0 (a) Use the composite trapezoidal...
Let x In I dx. a) Find the exact value of 1 b) Use composite trapezoidal rule with n = 4 subintervals to approximatel. Calculate the exact error c) Use composite simpson's rule with n = 4 subintervals to approximatel. Calculate the d) Use composite simpson's rule with n = 6 subintervals to approximate I. Calculate the exact error exact error
121, C. Consider the integral - dr. Use the theorems from Section 4.4 to get upper and lower bounds for the signed error (estimate - actual value) of these three methods, as a function of n. Note that this is a pencil-and paper calculation, and h should be eliminated in favor of n. Theorem 4.4 Let f e C4[a,b], n be even, h = (b - a)/n, and x; = a + jh, for each j = 0, 1,...,n. There...
10. Trapezoidal Rule is used to approximate the integral f(a) dx using 1- (yo +2y1 + 2y2 + x-na b-a + 2yn-1 +%),where Use this approximation technique to estimate the area under the curve y = sinx over。 a. π with n 4 partitions. x A 0 B: @ Δy B-A b. The error formula for the trapezoidal rule is RSL (12ba)1 where cischosen on the interval [a, b] to maximize lf" (c)l. Use this to compute the error bound...
4. Find the exact value of the integral. Then use composite trapezoidal rule and the composite Simpson's rule to approximate the integral below using n 4 and n 8. Round your results to four decimal places. .3 2a +3a2 dx
0.5 05 3-) (a) Find the approximate value of the cos' x dr integral using Simpson 1/3 and 3/8 rules. Calculate the absolute error you made by comparing it with its real value. (b) Calculate the fre dx integral Trapezoidal, the absolute error between the Simpson's rule and its true value.
Question 6 [10 marks a) Let f(x) = x for each xe [a,b]. Show that for any number of subintervals, the global error js(x)dx-SUS J) = 0. [6] Hint: Obtain the local error first and then calculate the global error. SCS ,h) denotes approximation using the composite Simpson's Rule. b) Determine the minimum number of subintervals so that the upper bound of the (absolute) global error for the composite Simpson's Rule applied to ja?-10x”) dx is less than 10%. [41...
Numerical Methods Consider the integral 2 (a) [16 marks] Use the composite Simpson's rule with four intervals to calculate (by hand) approximate value of the integral Calculate the maximum value of the error in your approximation, and compare it with the true error. (b) 19 marks] Determine the number of subintervals n and the step size h so that the composite Simpson's rule for n subintervals can be used to compute the given integral with an accuracy of 5 ×...
Let f(x) = cos(x2). Use (a) the Trapezoidal Rule and (b) the Midpoint Rule to approximate the integral ſo'f(x) dx with n = 8. Give each answer correct to six decimal places. To Mg = (c) Use the fact that IF"(x) = 6 on the interval [0, 1] to estimate the errors in the approximations from part (a). Give each answer correct to six decimal places. Error in Tg = Error in Mg = (d) Using the information in part...
2. The following integral 2 dr can be computed exactly (a) Estimate the integral using the composite trapezoidal rule with n = exact value of integral and compute the true percent relative error for this approximation 4. Calculate the (b) How many subintervals would be needed to estimate the integral with the composite trapezoidal rule with an accuracy of 102? (c) Estimate the integral using the composite Simpson's 1/3 rule with n = true percent relative error for this approximation...
can i get some help with this ? 1. Approximate the following integral, exp(r) using the composite midpoint rule, composite trapezoid rule, and composite Simpeon's method. Each method should invol + l integrand evaluations, k 1: 20. On the same plot, graph the absolute error as a function of n. ve exactly n = 2k 2. Approximate the integral from Question 1 using integral, Matlab's built-in numerical integrator. What is the absolute error? 1. Approximate the following integral, exp(r) using...