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

Vb code, some basic vb codes withing excel to get things done quickly.

some basic vb codes withing excel to get things done quickly.

Probability, what is a sample space diagram

what is a sample space diagram

What do you mean by transient state, What do you mean by transient state an...

What do you mean by transient state and steady-state queueing systems If the characteristics of a queuing system are independent of time or equivalently if the behaviour of the

Find intervals while function is increasing or decreasing, Find out all int...

Find out all intervals where the given function is increasing or decreasing. f ( x ) = - x 5 + 5/2 x 4 + 40/3 x 3 + 5 Solution To find out if the function is increasi

What is graphing statistics explain , What is Graphing Statistics explain ?...

What is Graphing Statistics explain ? The number of times that an event occurs is called its frequency. One of the ways that you can compare or display different frequencies is

What is factorial, Q. What is Factorial? A factorial is a number with a...

Q. What is Factorial? A factorial is a number with a factorial sign, !, after it. 5! is read "five factorial." 3! is read "three factorial." The factorial of a natural

Permutations and combinations, Consider this. You have four units A, ...

Consider this. You have four units A, B, C and D. You are asked to select two out of these four units. How do you go about this particular task? Will your methodo

Commercial maths, if 500kg of food lasts 40 days for 30 men.how many men wi...

if 500kg of food lasts 40 days for 30 men.how many men will consume 675kg of food in 45 days.

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