华南师范大学:《数值计算方法》课程PPT教学课件(数值分析 Numerical Analysis)Numerical Differentiation

车南种彩头寻 Numerical Differentiation
Numerical Differentiation

Numerical Differentiation Estimate the derivatives (slope,curvature,etc.) of a function by using the function values at only a set of discrete points Ordinary differential equation (ODE) Partial differential equation (PDE) Represent the function by Taylor polynomials or Lagrange interpolation Evaluate the derivatives of the interpolation polynomial at selected nodal points
Numerical Differentiation ◼ Estimate the derivatives (slope, curvature, etc.) of a function by using the function values at only a set of discrete points ◼ Ordinary differential equation (ODE) ◼ Partial differential equation (PDE) ◼ Represent the function by Taylor polynomials or Lagrange interpolation ◼ Evaluate the derivatives of the interpolation polynomial at selected nodal points

True derivative Approximation Numerical Differentiation Forward difference (a) Backward difference True derivative Centered difference Approximation 2
Forward difference Backward difference Centered difference Numerical Differentiation

Forward difference True derivative Approximation Xi-1 Xi X+1
Forward difference xi−1 xi xi+1 x h

Backward difference True derivative Approximation Xi-1 xi Xi+1
Backward difference xi−1 xi xi+1 x h

Centered difference True derivative Approximation 2h Xi-1 Xi Xi+1
Centered difference xi−1 xi xi+1 x 2h

First Derivatives f'(x) i-2 -1 i计l i+2 ■Forward difference 了x)f4小-fs-4-y 七+1-X, xi41- Backward difference x))f( Xi-Xi-1 Xi-xi-1 ■Central difference f(x)f(xu)-f(x)=yu-y i+1-i-1 Xi+l-Xi-1
First Derivatives ◼ Forward difference ◼ Backward difference ◼ Central difference f ( x ) i-2 i-1 i i+1 i+2 i 1 i 1 i 1 i 1 i 1 i 1 i 1 i 1 i i 1 i i 1 i i 1 i i 1 i 1 i i 1 i i 1 i i 1 i x x y y x x f ( x ) f ( x ) f ( x ) x x y y x x f ( x ) f ( x ) f ( x ) x x y y x x f ( x ) f ( x ) f ( x ) + − + − + − + − − − − − + + + + − − = − − − − = − − − − = − − x y

Truncation Errors Uniform grid spacing h2 fx)=x,+)=x+(+2∫x,+x+ h2 d=0-)=0代-x+2x)了R fonvard:P()f(a)() O h 2 backward:frx))=f)-f小+gfr5,) 0(h) h central f(x)=f)-f( f"(5) 02) 2h 6
Truncation Errors ◼ Uniform grid spacing = − = − + − + = + = + + + + − + f ( x ) 3! h f ( x ) 2! h f ( x ) f ( x h ) f ( x ) hf ( x ) f ( x ) 3! h f ( x ) 2! h f ( x ) f ( x h ) f ( x ) hf ( x ) i 3 i 2 i 1 i i i i 3 i 2 i 1 i i i − − = + − = − − = + − − + ( ) ) ( ) ( ) : ( ) ( ) ( ) ( ) : ( ) ( ) ( ) ( ) : ( ) 2 3 2 i 1 i 1 i 2 i i 1 i 1 i 1 i i f O(h 6 h 2h f x f x central f x f O(h) 2 h h f x f x backward f x f O(h) 2 h h f x f x forward f x

Error Propagation f ImAr Estimated error Error in x leads to error in f(x) x土△→ fx)±△f(E)=fx)±f'(x)x-)=f(x)±f'(x)△c
Error Propagation f x f x f x f x x x f x f x x x x ~ ) ( ) ( ) ~ ) ( ) ( )( ~ ( ) ( ~ = − = Error in x leads to error in f(x)

Total Numerical Error Point of diminishing returns Total error Truncation error Round-off error log step size Trade-off between truncation and round-off errors
Trade-off between truncation and round-off errors Total Numerical Error
按次数下载不扣除下载券;
注册用户24小时内重复下载只扣除一次;
顺序:VIP每日次数-->可用次数-->下载券;
- 华南师范大学:《数值计算方法》课程PPT教学课件(数值分析 Numerical Analysis)Introduction to Numerical Methods.pptx
- 华南师范大学:《数值计算方法》课程PPT教学课件(数值分析 Numerical Analysis)Chapter 6 Solution of Differential Equations.ppt
- 华南师范大学:《数值计算方法》课程PPT教学课件(数值分析 Numerical Analysis)Chapter 5 Numerical Integration.pptx
- 华南师范大学:《数值计算方法》课程PPT教学课件(数值分析 Numerical Analysis)Chapter 4 Curve Fitting.pptx
- 华南师范大学:《数值计算方法》课程PPT教学课件(数值分析 Numerical Analysis)Chapter 3 Interpolation and Polynomial Approximation.pptx
- 华南师范大学:《数值计算方法》课程PPT教学课件(数值分析 Numerical Analysis)Chapter 2 Solution of Linear Systems AX=B.pptx
- 华南师范大学:《数值计算方法》课程PPT教学课件(数值分析 Numerical Analysis)Chapter 1 Solution of Nonlinear Equations f(x)=0(主讲:谢骊玲).pptx
- 华南师范大学:《MATLAB数值分析实验》课程教学资源(作业习题)实验16 常微分方程初值问题的数值解法 习题.docx
- 华南师范大学:《MATLAB数值分析实验》课程教学资源(讲义)实验16 常微分方程初值问题的数值解.docx
- 华南师范大学:《MATLAB数值分析实验》课程教学资源(作业习题)实验16 常微分方程初值问题的数值解法 参考答案.docx
- 华南师范大学:《MATLAB数值分析实验》课程教学资源(作业习题)实验15 特征值与特征向量 参考答案.docx
- 华南师范大学:《MATLAB数值分析实验》课程教学资源(作业习题)实验15 特征值与特征向量 习题.docx
- 华南师范大学:《MATLAB数值分析实验》课程教学资源(讲义)实验15 特征值与特征向量.docx
- 华南师范大学:《MATLAB数值分析实验》课程教学资源(作业习题)实验14 数值最优化方法 参考答案.docx
- 华南师范大学:《MATLAB数值分析实验》课程教学资源(讲义)实验14 数值最优化方法.docx
- 华南师范大学:《MATLAB数值分析实验》课程教学资源(作业习题)实验14 数值最优化方法 习题.docx
- 华南师范大学:《MATLAB数值分析实验》课程教学资源(讲义)实验13 数值微分和数值积分.docx
- 华南师范大学:《MATLAB数值分析实验》课程教学资源(作业习题)实验13 数值微分和数值积分 习题.docx
- 华南师范大学:《MATLAB数值分析实验》课程教学资源(作业习题)实验13 数值微分和数值积分 参考答案.docx
- 华南师范大学:《MATLAB数值分析实验》课程教学资源(作业习题)实验12 贝塞尔曲线和B样条曲线 参考答案.docx
- 广东财经大学:统计与数学学院《高等数学选讲I》课程教学大纲.docx
- 广东财经大学:统计与数学学院《应用回归分析》课程教学大纲.doc
- 广东财经大学:统计与数学学院《统计预测与决策》课程教学大纲.doc
- 广东财经大学:统计与数学学院《偏微分方程》课程教学大纲.docx
- 广东财经大学:统计与数学学院《程序设计基础(C语言)》课程教学大纲.doc
- 广东财经大学:统计与数学学院《MATLAB》课程教学大纲.doc
- 广东财经大学:统计与数学学院《MATLAB》课程教学大纲.doc
- 广东财经大学:统计与数学学院《常微分方程》课程教学大纲.doc
- 广东财经大学:统计与数学学院《R程序设计语言》实验课程教学大纲.doc
- 广东财经大学:统计与数学学院《R程序设计语言》课程教学大纲.doc
- 广东财经大学:统计与数学学院《高等数学I》课程教学大纲.doc
- 广东财经大学:统计与数学学院《高等数学概论课程》课程教学大纲.doc
- 广东财经大学:统计与数学学院《高等代数I》课程教学大纲.doc
- 广东财经大学:统计与数学学院《数学分析(I)》课程教学大纲.doc
- 广东财经大学:统计与数学学院《数学分析Ia》课程教学大纲.doc
- 广东财经大学:统计与数学学院《非参数统计》课程教学大纲.doc
- 广东财经大学:统计与数学学院《最优化方法》课程教学大纲.doc
- 广东财经大学:统计与数学学院《统计学基础》课程教学大纲.doc
- 广东财经大学:统计与数学学院《数学分析(III)》课程教学大纲.doc
- 广东财经大学:统计与数学学院《非寿险精算》课程教学大纲.docx