(a)
let h=2, then
Now, according to Simpson's 1/3rd rule integration is given by
let h=1, then
Now, according to Simpson's 1/3rd rule integration is given by
(b) error in Simpson's 1/3rd rule is given by
where is the maximum value of the 4th order derivative of
As,
for all x.
So,
It is given that
, and
So,
Also,
So, h=0.274 is the maximum step size to get error less than 0.001.
4. Consider using the Simpson's 1/3 rule to estimate the following integral I[cos(x 3)l dx (a) Fi...
Approximate the integral below using 4 subintervals and: (x + 1) dx (a) The Simpson's rule (5 points): (b) Compare your estimate with the exact value of the integral. (5 points)
(a) Estimate So sin(x + 1) dx by using either Simpson's Rule or Trapezoidal Rule with n= 6 (Round the answer to 6 decimal places). (b) Estimate the minimum number of subintervals needed to approximate the integrals with an error of magnitude less than 10-4 by the rule you used in part (a).
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.
Tutorial Exercise Evaluate the integral using the substitution rule. sin(x) 1/3 1* dx cos(x) Step 1 of 4 To integrate using substitution, choose u to be some function in the integrand whose derivative (or some constant multiple of whose derivative) is a factor of the integrand. Rewriting a quotient as a product can help to identify u and its derivative. 70/3 1." sin(x) dx = L" (cos(x) since) dx cos?(X) Notice that do (cos(x)) = and this derivative is a...
14 3. . a. Using Simpson's Rule (n-6). approximatevx +1 de b. Determine the upper bound on the error in part a. Hint56r - 80) dx 16(r 1) If the absolute error in the approximation of the integral in #(4 a) is to be at most 0.05. determine the appropriate value of n (#of subintervals) c. 14 3. . a. Using Simpson's Rule (n-6). approximatevx +1 de b. Determine the upper bound on the error in part a. Hint56r -...
upson's Rule with n=4 #5 (9) Use Simpson's Rule wi intervals to estimate ex-l at 16 Find the exact value - A the error. drant of the integral linpartas) and the =0: #5, Use integration by. Seť Int de #7 (a) Evaluate St sin x cos x dic (6) If g(x) = 5 Je tidt, find g'(x) and g'(o). |#8 use partial fractions to find substitution to evaluate $3x(x-3) dx #0 (a). Find 52 sin o do (6) Find the...
4. This question is about using the composite Simpson's Rule to estimate the integral 1 = (exp() dr to ten decimal places. (a) Enter and save the following Matlab function function y = f(x) y =exp(x/2); end [O marks) (b) Now complete the following Matlab function function y = compSR (a,b,N) end The function is to return the estimate of I found by applying Simpson's Rule N times. The Matlab function from the previous part of the question should be...
Consider the integral 8. eT dx Use Simpson's Rule with n = 6 to estimate the value of the integral. (a) (b) Your friend chose instead to estimate the integral above using the Midpoint Rule with n = 6, Noting that the second derivative: 4x2-4r +3)e z5/2 is an increasing function over the interval [1, 4], determine the maximum possible error in your friend's estimate Consider the integral 8. eT dx Use Simpson's Rule with n = 6 to estimate...
Problem 10. (1 point) 5." -4 sin x dx a) Approximate the definite integral with the Trapezoid Rule and n = 4. b) Approximate the definite integral with Simpson's Rule and n = 4. c) Find the exact value of the integral.
Evaluate the integral integral_0 15^2x dx analytically, using the Trapezoidal Rule (1-segment), and Simpson's 1/3 Rule (1-segment). Then use the Matlab trap() function presented in class to find a solution exact to 4 decimal places. How many segments were required for this accuracy?