Numerical Methods Flashcards

(17 cards)

1
Q

What are the two methods of numerical differentiation?

A

Forwards difference method and central difference method

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

Which method generally gives a better approximation?

A

Central difference method

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

What is the equation for forward difference?

A

(f(c+h)-f(c))/ h (remember this is approximately equal to the gradient)

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

What is the equation for central difference?

A

(f(c+h)-f(c-h))/ 2h
(remember this is approximately equal to the gradient)

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

What is the proper notation for the gradient at point c

A

f’(c)

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

How do you make the approximation more accurate?

A

Choose a smaller step size (a smaller value of h)

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

How would you work out f’‘(c) (the gradient of the gradient, or the second derivative) using central difference?

A

(f’(c+h)- f’(c-h))/ 2h

Use normal central difference for values of f’(c+h) and f’(c-h)

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

What is absolute error?

A

The difference between the value that is measured/ calculated and the actual value

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

What is relative error?

A

The absolute difference divided by the actual value

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

What is percentage error?

A

The relative error multiplied by 100

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

What are the three rules for numerical integration?

A

Midpoint rule, Trapezium rule and Simpson’s rule

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

What is the most accurate rule for numerical integration?

A

Simpson’s rule

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

How do you do the midpoint rule?

A

The base width of the rectangles multiplied by the sum of the values of the functions at the midpoints of the rectangles

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

How do you do the trapezium rule?

A

half the sum of (values of the end functions + twice the values of the middle functions) multiplied by h (width of trapeziums)

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

How do you do the Simpson’s rule?

A

one third of the sum of (values of the end functions + four times the odd middle functions + 2 times the even middle functions) multiplied by h

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

How do you find h for the Simpson’s rule?

17
Q

What are the number of strips equal to