Simpson rule - approximating definite integrals, Mathematics

Assignment Help:

Simpson's Rule - Approximating Definite Integrals

This is the last method we're going to take a look at and in this case we will once again divide up the interval [a, b] into n subintervals.  Though, unlike the preceding two methods we want to require that n be even. The cause for this will be obvious in a bit. The width of every subinterval is,

Δx = b - a / n

In the Trapezoid Rule (explain earlier) we approximated the curve along with a straight line.  For this Rule (Simpson's Rule) we are going to approximate the function along with a quadratic and we're going to need that the quadratic agree with three of the points from our subintervals.  Below is a drawing of this using n = 6.  Every approximation is colored in a different way thus we can see how they actually work.

108_Simpson Rule - Approximating Definite Integrals.png

Note: In fact each approximation covers two of the subintervals. This is the cause for requiring n to be even.  A few approximations look much more like a line after that a quadratic, but they really are quadratics. As well note that some of the approximations do a better job as compared to others. It can be illustrated that the area under the approximation on the intervals [xi -1, xi] and [xi , xi+1] Δ is like this:

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

If we make use of n subintervals the integral is then approximately,

 ∫ba  f (x) dx ≈  Δx / 3 (f(x0) + 4f (x1) + f (x2) + Δx / 3  (f (x2) + 4f (x3) + f (x4)) + ....+ Δx / 3 (f (xn-2) + 4f (xn-1) + f (xn))  

On simplifying we reach at the general Simpson's Rule.

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

In the above case notice that all the function evaluations at points along with odd subscripts are multiplied by 4 and every function evaluations at points with even subscripts (apart from for the first and last) are multiplied by 2.  If you can keep in mind this, this is a quite easy rule to remember.


Related Discussions:- Simpson rule - approximating definite integrals

matlab, how to solve simplex method using matlab

how to solve simplex method using matlab?

Logarithms, We know that 2 4 = 16 and also that 2 is referred to as ...

We know that 2 4 = 16 and also that 2 is referred to as the base, 4 as the index or power or the exponent. The same if expressed in terms of logarithms would be log 2

Arc length for parametric equations, Arc Length for Parametric Equations ...

Arc Length for Parametric Equations L = ∫ β α √ ((dx/dt) 2 + (dy/dt) 2 ) dt Note: that we could have utilized the second formula for ds above is we had supposed inste

The sum of their ages is 104 how old is shari, Sam's age is 1 less than dou...

Sam's age is 1 less than double Shari's age. The sum of their ages is 104. How old is Shari? Let x = Shari's age and let y = Sam's age. Because Sam's age is 1 less than twice S

Brahmaguptas problem, How to solve Brahmaguptas Problem? Explain Brahmagupt...

How to solve Brahmaguptas Problem? Explain Brahmaguptas Problem solving method?

Innovation, In the innovations algorithm, show that for each n = 2, the inn...

In the innovations algorithm, show that for each n = 2, the innovation Xn - ˆXn is uncorrelated with X1, . . . , Xn-1. Conclude that Xn - ˆXn is uncorrelated with the innovations X

Examples of linear equation, Examples of Linear Equation Please provid...

Examples of Linear Equation Please provide me some Examples of Linear Equation?

Evaluate subsequent proportion, Evaluate subsequent proportion: Examp...

Evaluate subsequent proportion: Example 2: If 5 pounds of apples cost 80 cents, how much will 7 pounds cost? Solution: By using x for the cost of 7 pounds of appl

Relation is not a function, The following relation is not a function.   ...

The following relation is not a function.                   {(6,10) ( -7, 3)  (0, 4)  (6, -4)} Solution Don't worry regarding where this relation came from.  It is only on

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