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

Find out the total number of pounds of coffee purchased, Megan bought x pou...

Megan bought x pounds of coffee in which cost $3 per pound and 18 pounds of coffee at $2.50 per pound for the company picnic. Find out the total number of pounds of coffee purchase

Related to MCA, AskIf y=e^(a?sin?^(-1) x), prove that (1 – x2)yn+2 – (2n + ...

AskIf y=e^(a?sin?^(-1) x), prove that (1 – x2)yn+2 – (2n + 1)xyn+1 – (n2 + a2)yn = 0. Hence find the value of yn when x = 0. question #Minimum 100 words accepted#

Factors or multiples, long ago, people decided to divide the day into units...

long ago, people decided to divide the day into units called hours. they choose 24 as the number of hours in one day. why is 24 a more convenient choice than 23 or 25?

What is the expected value of perfect information, Question: The follow...

Question: The following payoff table shows profit for a decision analysis problem with two decision alternatives and three states of nature. (a) Construct a decision tr

Factors, what are the factors af 34?

what are the factors af 34?

Indices, advantages and disadvantages of paasche and laspeyres indices

advantages and disadvantages of paasche and laspeyres indices

Find the sides of hypotenuse , The hypotenuse of a right triangle is 20m. ...

The hypotenuse of a right triangle is 20m. If the difference between the length of the other sides is 4m. Find the sides. Ans: APQ x 2 + y 2 = 202 x 2  + y 2 = 400

Trigomometrical, ABCD is a rhombus. the sides of the rhombus are 8cm long ....

ABCD is a rhombus. the sides of the rhombus are 8cm long .one of its diagonals is 12cm .find the angels of the rhombus

Definition of a function, A function is a relation for which each of the va...

A function is a relation for which each of the value from the set the first components of the ordered pairs is related with exactly one value from the set of second components of t

Define a hamilton path, Define a Hamilton path. Determine if the following ...

Define a Hamilton path. Determine if the following graph has a Hamilton circuit. Ans: A path is known as a Hamiltonian path if it consists of every vertex of the graph e

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