Core 3 - Numerical Methods Flashcards

1
Q

What is Simpson’s Rule? What principal does it work on?

A

It takes an approximation of the curve using three points. The general method is:

1) Find h by dividing the difference between the 2 limits by the number of strips. NOT FUCKING ORDINATES
2) Find the values of all the y values for the corresponding x values using table mode.

3) Substitute into the formula
A= (h/3)(ends + 4odd + 2even)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is the mid-ordinate rule? What principal does it work on?

A

It finds the point in the middle of the strip, and starts the trapezium from there. This is more accurate than Trap. Rule as it under/overestimates by a smaller amount.

1) Find h by dividing the difference between the 2 limits by the number of strips. NOT ORDINATES.
2) Draw up table, then find the outputs for the x inputs in the middle of those you found first. e.g. if x(edge)=1,2,3 x(mid)=1.5,2.5. These are the points we use to find the outputs.
3) sub into equation A=h(sum of outputs)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the formula for simpsons rule?

A

h/3(ends + 4odds + 2even)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What is the formula for mid ordinate rule?

A

h(sum of ordinates) Hard part is finding the ordinates.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

How do you prove there is a root of an equation between two numbers?

A

Equate them and rearrange to =0.
Substitute the two values in and look for a change in sign.

The graph is continuous and there is a change of sign. A root therefore exists such that 2 (less than) x (less than) 3

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

How do you remember the difference between the two formulae for mid-ordinate and simpson’s rule?

A

Mid ordinate requires effort to find the values, then just sub into simple equation (h*sum of values)

Simpson’s is easy to find the values, but a more complicated equation : h/3(ends + 4odds + 2even)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is the method for finding a root of an equation?

A

Substitute the two given values into the equation when set to =0, and hope they give +- values. Then concluding statement.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is the concluding statement for finding a root?

A

The graph is continuous and there is a change of sign, therefore a root alpha exists such that 1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

When drawing cobweb/staircase diagrams, what is the rule?

A

Up to the Curve,

Across to the Line

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

When could the mid ordinate rule provide an overestimate?

A

the part that it overshoots by is greater than the bit it missed off, so gradient decreasing e.g. ln(x)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

When could mid ordinate rule provide an underestimate?

A

Part it overshoots is smaller than the part it missed off, like a decreasing gradient e.g. 1/x

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

How do you calculate h

A

largest limit-smallest limit/number of strips

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Jan 13 mistake - what must you check for?

A

Make sure your ordinates only go up to the values stated, NOT BEYOND!!!!

How well did you know this?
1
Not at all
2
3
4
5
Perfectly