3.0 Numerical Integration and Differentiation Flashcards

1
Q

Higher-order approximations of the first derivative can be obtained by

A

involving more points on both sides of the point where the derivative is needed

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

You can calculate the finite-difference approximation of the first derivative in three different ways

A
  1. Backward Difference
    1. Central Difference
    2. Forward Difference
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Finite Difference Method

A
  • Consider two points on a curve
    • The approximate slope is given by the first derivative
    • The close the two points to one another, the better the approximation
    • Delta x and delta y are called the finite differences
    • The slope is a finite-difference approximation of the first derivative of y with respect to x
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

The finite-difference approximations can be derived for the second derivative. The first-order approximations of the second derivative are provided

A
  1. Backward difference
    1. Central difference
    2. Forward difference
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

In the higher order approximations of the second derivative

A

you can see more than 3 points are involved

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

How to use Finite Difference

A

Case 1: Mathematical function is available

* Plot the function using suitable intervals and then compute the finite-difference approximations using the plot data

Case 2: Only numerical data is available

* Many relationships between variables in engineering problems are derived from experiments or field observations. In such cases, the numerical data are gathered and plotted, and then a mathematical relationship is fitted into the plot
* For example, load is applied in increments and deformation measured for each load increment in determining load-deformation relationship of building materials
* We can apply the finite-difference technique directly to the data, however we need to make sure that the noise in the data is not significant
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Noise in the Data

A
  • Noise can arise from various sources instrumental or observational errors are the most common in experiments)
    • If you apply finite differences directly to noisy data, you might and probably will get unacceptable results
    • You can apply filtering to clean up the data as much as possible)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

If Noise is significant

A
  1. You can either get a best-fit function (usually a polynomial) by curve fitting, and then differentiate numerically by the finite difference technique
    1. OR filter the noise out, then apply the finite-difference technique directly to the filtered numerical data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Rules for improving accuracy of numerical differentiation

A
  1. filter out the noise
  2. make interval (delta x) smaller
  3. central differentiation approximation
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Many engineering problems involve:

A
  1. Determination of the Area under a curve
    1. Integration of a differential equation
      Numerical integration can be applied in both cases often enabling a relatively easy solution
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Methods of Numerical integration

A
  1. Rectangular Method
    • Left-sided rectangle
    • Right-sided rectangle
      2. Trapezoidal method
      3. Simpson’s rule
    • It requires an odd number of data points
    • Evenly spaced data (uniform delta x)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Generally the ___ difference gives a slightly better approximation and is most commonly used

A

central

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