Question

1. Suppose that we would like to approximate Sof(x)dx by QU) = 0 P2(x)dx, (1) where P2(x) is the polynomial of degree at most

0 0
Add a comment Improve this question Transcribed image text
Answer #1

al can P2 (x) is lagrange. form be written as P20) (x-x.) (x - 12) f(x0) + (x-360) (0C-X2) f(x) (xo-x)(X-X2) (20.-26) (x,-362So P2 ( x ) abc = Sla[a + (6-0) [] Coral dt og 2₂ = b. se cora, za 20, = a +6 > 2 a’() = 6-a [fcal + 4f (&#6) + f(b)] 2 Let fDate 6 (6-a) [olo + c [a + 6 + 2(a+b)] + Ca[a2+6+ catw?]] (b-a2 [6 Co + 3 ca+676 + (2a2+262+206)Ce I So f(x) doc (6-a) [ Co +

Add a comment
Know the answer?
Add Answer to:
1. Suppose that we would like to approximate Sof(x)dx by QU) = 0 P2(x)dx, (1) where...
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for? Ask your own homework help question. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • 2. Since it is difficult to evaluate the integral / e dx exactly, we will approximate it using Maclaurin 0 polynomials...

    2. Since it is difficult to evaluate the integral / e dx exactly, we will approximate it using Maclaurin 0 polynomials (a) Determine Pa(x), the 4th degree Maclaurin polynomial of the integrand e (b) Obtain an upper bound on the error in the integrand for a in the range 0 S x 1/2, when the integrand is approximated by Pi (r) (c) Find an approximation to the original integral by integrating Pa(x) (d) Obtain an upper bound on the error...

  • 4. Consider the quadrature rule +s0) 2 (F'0) +35() + 3fj f (x)dx Determine the degree...

    4. Consider the quadrature rule +s0) 2 (F'0) +35() + 3fj f (x)dx Determine the degree of precision of this rule, that is, find the highest degree of polynomial for which the above rule is exact. (10 marks) OC 4. Consider the quadrature rule +s0) 2 (F'0) +35() + 3fj f (x)dx Determine the degree of precision of this rule, that is, find the highest degree of polynomial for which the above rule is exact. (10 marks) OC

  • Problem 1 (1) Derive a basic quadrature rule RM(f) to approximate I= f(r)dr by integrating an...

    Problem 1 (1) Derive a basic quadrature rule RM(f) to approximate I= f(r)dr by integrating an interpolating polynomial po(r) of degree 0 that interpolates one data point generated by f (x) at the node (a+b)/2. (2) Give a geomet- ric interpretation of the rule and then derive the rule using the geometric interpretation.

  • Since t is difficult to evaluate the integral e dx exactly, we will approximate t using Maclaurınn polynomials 2 (a) De...

    Since t is difficult to evaluate the integral e dx exactly, we will approximate t using Maclaurınn polynomials 2 (a) Determine P4(x), the 4th degree Maclaurin polynomial of the integrand e" (b) Obtain an upper bound on the error in the integrand for r in the range 0S S 1/2 (c) Find an approximation to the original integral by integrating P4(x) (d) Obtain an upper bound on the error in the integration in (c) 2, when the integrand is approximated...

  • Paragraph Styles Voce Sraut Simpson's 1/3rd rule is an extension of Trapezoidal rule where the integrand...

    Paragraph Styles Voce Sraut Simpson's 1/3rd rule is an extension of Trapezoidal rule where the integrand is approximated by a second order polynomial instead of a first order polynomial. For a given function f(x) the integral of f(x) over an interval [a, b] using Simpson's 1/3rd rule is given by: S f(x)dx = odx =“ $(x)+4 ()+2 Ž f(x)+F(*,) a 1=1,3,5.... 1=2,4,6,... Where, n is the number of subintervals and h is the width of each subinterval. Write a complete...

  • 1. Simpson's rule. Simpson's rule is a different formula for numerical integration of lºf (d.x which...

    1. Simpson's rule. Simpson's rule is a different formula for numerical integration of lºf (d.x which is based on approximating f(2) with a piecewise quadratic function. We will now derive Simpson's rule and relate it to Romberg integration: a. Suppose that (2) is a quadratic polynomial so that q(-h) = f(-h), q0) = f(0) and q(h) = f(h). Prove that 92 f(-h) + 4f(0) + f(h)). -h b. Suppose that the interval [a, b] is divided by a = 20,...

  • 3. (1 point) This is 2-point Gaussian Quadrature for any f(x) dx. The weights and the...

    3. (1 point) This is 2-point Gaussian Quadrature for any f(x) dx. The weights and the nodes do not change when we integrate a new function. So...does it work? Does this actually lead to a method that is good for intergating functions in general? Use 2-point Gaussian quadrature to approximate the following integral: I e-ra da. -1 The exact value of this integral rounded to 2 decimal places is 1.49. Show your work when computing the approximation. Report the answer...

  • Suppose f is continuous, f(0)=0, f(2)=2, f'(x)>0 and f (x) dx = 1. Find the value...

    Suppose f is continuous, f(0)=0, f(2)=2, f'(x)>0 and f (x) dx = 1. Find the value of the integral fro f-?(x) dx =?

  • (a) i) For ∫(4x−4)(2x^2-4x+2)^4 dx (upper boundry =1, lower =0) Make the substitution u=2x^2−4x+2, and write...

    (a) i) For ∫(4x−4)(2x^2-4x+2)^4 dx (upper boundry =1, lower =0) Make the substitution u=2x^2−4x+2, and write the integrand as a function of u, ∫(4x−4)(2x^2−4x+2)^4 dx =∫ and hence solve the integral as a function of u, and then find the exact value of the definite integral. ii) Make the substitution u=e^(3x)/6, and write the integrand as a function of u. ∫ e^(3x)dx/36+e^(6x)=∫ Hence solve the integral as a function of u, including a constant of integration c, and then write...

  • 1. The two-point forward difference quotient with error term is given by where ξ e ll, l + hl. In...

    1. The two-point forward difference quotient with error term is given by where ξ e ll, l + hl. In class we showed an additional error term appears to due to computer rounding error, e(r). Denoting (z) f(x) +e(x) as what the com- puter stores, and supposing f"(x)M and e() e where e, M are constants, we obtained an upper bound for the error between f(r) and the computed forward difference quotient 2c h Find the minimum value of the...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT