Numerical integration Flashcards

1
Q

how does midpoint rule work

A

split into segments then make rectangles with height of midpoint then work out total area
create a table with x values, mid x values then y values

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

midpoint rule formula

A

a-b/n (y1/2 + y3/2…. + y n-1/2)

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

how does trapezium rule work

A

split into strips then fit a trapezium into each with start and end point then work out total area
make a table of x endpoint values and y values

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

trapezium rule formula

A

1/2 (a + b/n) ((y0 + yn + 2(y1 + y2….. + y n-1))

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

Combining midpoint and trapezium

A

T 2n is the average of Tn and Mn
T2 = T1 + M1 /2

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

error bounds of midpoint and trapezium

A

for a concave up curve, trapezium overestimate and midpoint under
vice versa for concave down
if fully concave up then set trapezium as upper bound and midpoint lower and vice versa
if there is a mix of both then less able to do so

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

How does simpsons rule work

A

Fitting one or more quadratics to a curve, if one quadratic is fitted it is S2, if 2(i.e two parts of 2 different quadratics) then S4 and so on

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

Simpsons rule formulae

A

S 2n = 2Mn + Tn / 3
S 2n = 4T2n - Tn / 3

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