• Join over 1.2 million students every month
  • Accelerate your learning by 29%
  • Unlimited access from just £6.99 per month

Numerical integration coursework

Extracts from this document...

Introduction

Numerical integration coursework

Problem

image00.png

For this coursework, I am going to use my knowledge of numerical methods to produce an approximation to an area which does not have an analytic solution. I will be finding the approximation, to an appropriate degree of accuracy, of the integral shown above. On the graph below is the area that I will be approximating underneath the curve of y=image01.png

 from x=0 to x=2. Note that throughout my method I worked in radians.

image19.png

This problem is appropriate for numerical solution as I chose my graph to be a polynomial curve involving a square root so that there would be no analytical solution. Due to the fact that I cannot yet integrate functions like this approximating methods will have to be used. According to the numerical methods module the three approximation methods to be used are:

Mid-point rule- this method was adopted because it is used to approximate the area underneath the graph by dividing it up into individual rectangles.

Trapezium rule- this method was adopted because it is used to approximate the area underneath the graph, this is done so by dividing it up into individual trapeziums.

Simpson’s rule- I have realised that out of the

...read more.

Middle

Sn= 2(Mn) +Tn

    3

Extrapolating my answers to the Simpson’s rule to infinity will be the most accurate answer that I can give.  

Formula view of my method for approximations

Here I will briefly show how I used algorithms on Microsoft Excel to reach my approximations:image24.png

Mid-point rule

Trapezium rule

image25.png

Simpson’s rule

image26.png

Error analysis

As all three rules are actually only approximations there is always error involved, they are all gradually converging towards the actual solution. In reference to my graph the integral section is concave which means that the trapezium rule gives an overestimate and the mid-point rule gives an underestimate. As the number of strips increases the trapezium rule will tend to the solution from above and the mid-point rule will tend from below.

Error in the mid-point rule

In the mid-point rule the error is proportional to the width of the rectangle squared, or in mathematical terms, absolute error Mn= kh2, wherek is the constant. If the mid-point rule with n strips has a strip width of h, then the mid-point rule with 2n strips has a strip width ofh/2.

Hence:  image02.png

Therefore when you double the amount of strips (n) the error decreases by about a factor of 4, the error multiplier is therefore 0.25.

Error in the trapezium rule

The error connected to the trapezium rule is the same as the error in the mid-point rule.

...read more.

Conclusion

image12.png

Using this formula we can now extrapolate our answers of Mⁿ to infinity.

image21.png

image22.png

Trapezium rule

Similarly you can use the formula for image13.png

 in the same way, just replacing M with T due to the error multiplier being the same.

image14.png

image21.png

image22.png

Simpson’s rule

If you follow through the same steps as we did for the mid-point you similarly reach a formula for extrapolating Simpson’s rule to infinity:

image15.png

image21.png

image22.png

Interpretation

So in conclusion I can confidently quote my solution to the integral image00.png

  to 8 significant figures:

10.193205

This is due to the three approximations that I reached (17 sig figs):

image16.png

10.1932054791824

image17.png

10.1932054077805

image18.png

10.1932054458615

There was however some limitation. The software, Microsoft Excel, only calculated to 15 decimal places inevitably producing minimal amounts of error with each calculation done. To further improve my results I could have used better mathematical software which worked to more decimal places, but for a problem like this Excel was more than sufficient.

The fact that the trapezium rule and the mid-point rule give the same solution up to 8 significant figures guarantees that my solution is valid to this many significant figures. This is because, as I have indicated in the paragraphs dealing with error analysis, in the integral section of my graph the trapezium rule tends towards the solution from above and the mid-point rule from below meaning the solution is between the two. Simpson’s rule, being a weighted average, is more accurate and therefore likewise proves the solution.

Overall then my solution is proved by 3 different rules.

...read more.

This student written piece of work is one of many that can be found in our AS and A Level Core & Pure Mathematics section.

Found what you're looking for?

  • Start learning 29% faster today
  • 150,000+ documents available
  • Just £6.99 a month

Not the one? Search for your essay title...
  • Join over 1.2 million students every month
  • Accelerate your learning by 29%
  • Unlimited access from just £6.99 per month

See related essaysSee related essays

Related AS and A Level Core & Pure Mathematics essays

  1. Marked by a teacher

    The Gradient Function

    5 star(s)

    � - 3x� = 3(x� + 2hx + h�) - 3x� = 3x� + 6hx + 3h� - 3x�= 6hx + 3h� x +h-x h h h = 6x + 3h = 6x axn value gradient function x2 2x 2x2 4x 3x2 6x Here, I have noticed a trend in these data.

  2. Methods of Advanced Mathematics (C3) Coursework.

    -2.35133 -2.4528 -2.4528 -2.4806 -2.4806 -2.4881 -2.4881 -2.49012 -2.49012 -2.49066 -2.49066 -2.49081 I found with this equation that the Newton-raphson method was the fastest to converge to the route. It was very reliable and it was difficult to find an equation for which it didn't work.

  1. The open box problem

    X X 12cm 12-2x X 12cm 12-2x Here I use the same equation as before except that I replace 6 with 12 so the equation would be V=x(12-2x)^2. So I will now draw tables and a graph to show the maximum volume and the value of x.

  2. C3 Coursework: Numerical Methods

    The x=g(x) method took fewer calculations to find he root but not as few as the Newton Raphson method. To find an estimate of the root to 5 decimal places it took 15 iterations using the x=g(x) method. As with the Change of Sign method, the software made it easy to replicate the formula used.

  1. MEI numerical Methods

    Hence the equation, x +ktanx = 1, turns into, x + ktanx - 1 = 0, this is our function (f). As explained earlier the method of bisection requires an interval which supports the sign change argument. This means that the f(a) must equal negative and f(b) must be positive.

  2. Solving Equations. Three numerical methods are discussed in this investigation. There are advantages and ...

    by formula, we can then carry on with the general formula, the sequence will converge and untilit converges to the target root we find. Example 1 This method can also calculate with the help of Microsoft excel, formulas are set up as following: n xn f(xn)

  1. Numerical integration can be described as set of algorithms for calculating the numerical value ...

    Thus M16 means that area under the curve is split in 16 rectangles whereas M32 means its split up in 32. Having explained the mid-point rule above, I shall now explain the trapezium rule. The two methods are quite similar to each other in the sense of approximating the definite integral.

  2. Functions Coursework - A2 Maths

    I have confirmed that this root is correct to five decimal places because I have confirmed that it lies in the interval [1.879385,1.879386]. This means that 1.879385<x<1.879386; This directly tells us that x>1.879385, therefore x is not less than 1.87939 to five decimal places because it is equal to at least 1.87939 to five decimal places.

  • Over 160,000 pieces
    of student written work
  • Annotated by
    experienced teachers
  • Ideas and feedback to
    improve your own work