Trapezoid rule - approximating definite integrals, Mathematics

Assignment Help:

Trapezoid Rule - Approximating Definite Integrals

For this rule we will do similar set up as for the Midpoint Rule. We will break up the interval [a, b] into n subintervals of width,

Δx = b - a / n

After that on each subinterval we will estimated the function with a straight line that is equivalent to the function values at either endpoint of the interval.  Now here is a sketch of this case for n = 6.

2254_Trapezoid Rule - Approximating Definite Integrals.png

Every object in this is a trapezoid (therefore the rule's name...) and like we can see some of them do a very good job of approximating the actual area within the curve and others don't do such a good job.

The area of the trapezoid in the interval [xi-1, xi] is given by,  

Ai = Δx/2 (f (xi-1) + f (xi))

So, if we employ n subintervals the integral is just about,

ba f(x) dx ≈ Δx/2 (f (x0) + f (x1)) + Δx/2 (f(x1) + f (x2)) +.....+ Δx/2 (f (xn-1) + f (xn))

On doing a little simplification we reach at the general Trapezoid Rule.

 ∫ba f (x) dx ≈ Δx/2 [f (x0) + 2f (x1) + 2f (x2) + .... + 2f (xn-1) + f(xn)]

Note: all the function evaluations along with the exception of the first and last, are multiplied by 2.


Related Discussions:- Trapezoid rule - approximating definite integrals

Asymtotes, vwertical and horizontal

vwertical and horizontal

Terminology of polynomial, Terminology of polynomial Next we need to ge...

Terminology of polynomial Next we need to get some terminology out of the way. Monomial polynomial A monomial is a polynomial which consists of exactly one term.

What is the ratio of the areas of sectors , What is the ratio of the areas ...

What is the ratio of the areas of sectors I and II ?                               (Ans:4:5) Ans:    Ratio will be 120/360  Π r 2 : 150/360  Π r 2 4/12  : 5/12  =

Simulation and Modeling, I have some sample simulation and modeling practic...

I have some sample simulation and modeling practice questions using isee Stella software.

Mathematical laboratory, how to reverse positive digit number using mod fun...

how to reverse positive digit number using mod function

Geometry, write a proof on proving triangles are congruent.

write a proof on proving triangles are congruent.

Theorem on intervals of validity, Theorem Consider the subsequent IVP....

Theorem Consider the subsequent IVP. y′ =  p (t ) y = g (t )  y (t 0 )= y 0 If p(t) and g(t) are continuous functions upon an open interval a o , after that there i

Write Your Message!

Captcha
Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd