Illustration of simpson rule, Mathematics

Assignment Help:

By using n = 4 and all three rules to approximate the value of the following integral.

1091_Illustration of Simpson Rule 4.png

Solution

Very firstly, for reference purposes, Maple provides the following value for this integral.

452_Illustration of Simpson Rule 3.png

In every case the width of the subintervals will be,

Δx = (2 - 0) /4

= 1/2

and thus the subintervals will be,

[0, 0.5], [0.5, 1], [1, 1.5], [1.5, 2]

Let's endure each of the methods.

Midpoint Rule

20 ex2 dx ≈ ½ (e(0.25)2 +e(0.75)2  + e(1.25)2 + e(1.75)2 ) = 14.48561253

Just keep in mind that we evaluate at the midpoints of each of the subintervals here! The Midpoint Rule occur an error of 1.96701523.

Trapezoid Rule

20 ex2 dx ≈ (1/2) / 2 (e(0)2 + 2e(0.5)2  + 2e(1)2 + 2e(1.5)2 + e(2)2) =  20.64455905

The Trapezoid Rule consist an error of 4.19193129

Simpson's Rule

2368_Illustration of Simpson Rule 2.png

20 ex2 dx ≈ (1/2) / 3 (e(0)2 + 4e(0.5)2  + 2e(1)2 + 4e(1.5)2 + e(2)2) =  17.35362645

The Simpson's Rule has an error of 0.90099869.

Not any of the estimations in the previous instance are all that good. The good approximation in this case is from the Simpson's Rule and yet it still had an error of almost 1. To get a better estimation we would require to make use of a larger n.  Thus, for completeness sake here are the estimates for a few larger value of n.

1816_Illustration of Simpson Rule 1.png

In this type of case we were able to ascertain the error for each estimate as we could get our hands on the exact value.  Frequently this won't be the case and so we'd next like to look at error bounds for every estimate.

These bounds will provide the largest possible error in the estimate, but it should as well be indicated that the actual error may be significantly smaller than the bound. The bound is just only there thus we can say that we know the actual error will be less as compared to the bound.

So, suppose that |f" (x)| < K and |f(4) (x)| < ((K (b-a)3) / 12n2 ) |Es| <  ((M (b-a)5) / 180n4)


Related Discussions:- Illustration of simpson rule

Calculate the area of rectangle , Calculate the area of RECTANGLE ? Th...

Calculate the area of RECTANGLE ? The area of a rectangle is the amount of space taken up by a rectangle, which is a two-dimensional shape. You find the area (A) of a recta

Inverse functions, We have seen that if y is a function of x, then fo...

We have seen that if y is a function of x, then for each given value of x, we can determine uniquely the value of y as per the functional relationship. For some f

Ploting of mathematical graphs, how can we represent this mathematical equa...

how can we represent this mathematical equation on a graph y=2x-1

Show that cos - cos /sin - sin = a/b, A ladder sets against a wall at an ...

A ladder sets against a wall at an angle α to the horizontal.  If the foot is pulled away from the wall through a distance of 'a', so that is slides a distance 'b' down the wall ma

Produt promotion, What is the structure of produt promotion?

What is the structure of produt promotion?

Linear code with generator matrix , 1. Consider the code of size 4 (4 codew...

1. Consider the code of size 4 (4 codewords) and of length 10 with codewords listed below. 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 1 1 0 0 0 0 0 1 1 1 1 1 1 1 1 1

Diffrence between rational and irrational numbers, Q. Diffrence between Rat...

Q. Diffrence between Rational and Irrational Numbers? Ans. A number which is not rational is called irrational. The word "irrational" sounds not quite right...as though th

Initial value problems, Write a Matlab function MyIVP that solves an initia...

Write a Matlab function MyIVP that solves an initial-value problem (IVP) for a system of ordinary differential equations (ODEs) of the form x ?(t) = f (t, x(t)), where f : R × Rn ?

Identify the children strategies to solve maths problems, Here are four pro...

Here are four problems. Four children solved one problem each, as given below. Identify the strategies the children have used while solving them. a) 8 + 6 = 8 + 2 + 4 = 14 b)

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