版权说明:本文档由用户提供并上传,收益归属内容提供方,若内容存在侵权,请进行举报或认领
文档简介
1、Ch. 5 Numerical Differentiation and Integration,Using Lagrange Interpolating Polynomial,Numerical Differentiation,We know that the derivative of the function f at x0 is,This formula gives an obvious way to generate an approximation to f (x); simply compute,for small values of h. Although this may be
2、 obvious, it is not very successful, due to roundoff error. But it is certainly the place to start.,We construct the first Lagrange interpolating polynomial P1(x) for f determined by x0 and x1, with its error term:,Differentiating gives,Forward-difference,Backward-difference,This formula is known as
3、 the forward-difference formula if h0 and the backward-difference formula if h0.,To obtain general derivative approximation formulas, we use the theorem of the Lagrange interpolating polynomial remainder term,Differentiating this expression gives the first derivative formula,which is called an (n+1)
4、-point formula to approximate f (xj),and the second derivative formula,In general, using more evaluation points produces greater accuracy, although the number of functional evaluations and growth of roundoff error discourages this somewhat. The most common formulas are those involving three and five
5、 evaluation points.,We first derive some useful three-point formulas and consider aspects of their errors.,Three-Point Formulas,Recalling the second-order version of Lagrange interpolation,Since,Similarly,Hence, from the equation,We get,and from the expression,We get,Three-Point Formulas,Elements of
6、 Numerical Integration,to approximate .,The methods of quadrature are based on the Lagrange interpolation polynomials. We first select a set of distinct nodes x0, x1, , xn from the interval a,b. Then we integrate the Lagrange interpolating polynomial,The basic method involved in approximating is cal
7、led numerical quadrature. It uses a sum,and its truncation error over a, b to obtain,Let us consider formulas produced by using first, second, and third Lagrange polynomials with equally spaced nodes, This gives the Trapezoidal rule, Simpsons 1/3 rule, and Simpsons 3/8 rule.,Trapezoidal Rule (using
8、first Lagrange polynomials, 2 points, 1 interval):,Derivation of Simpsons 1/3 Rule,Substituting the agreement x with x = x0 + th, we have,Finally,Newton-Cotes Formulas (n= 4, 5 ),The trapezoidal rule and both of Simpsons rules are members of a family of integrating equations known as the Newton-Cote
9、s closed integration formulas. However, it must be stressed that, the high-degree (that is, greater than four-point) Newton-Cotes formulas are generally unsuitable for use over large integration intervals because of the oscillatory nature of high-degree polynomials. Simpsons rules are sufficient for
10、 most applications. Accuracy can be improved by using the multiple-application version. Furthermore, when the function is known and high accuracy is required, methods such as Romberg integration or Gauss quadrature offer viable and attractive alternatives.,Composite Numerical Integration,Now we disc
11、uss a piecewise approach to numerical integration that uses the low-order Newton-Cotes formulas. These are the techniques most often applied.,Composite Simpsons 1/3 Rule:,Composite Trapezoidal Rule,Simpsons 1/3 rule is usually the method of preference because it attains third-order accuracy. But we
12、note that the method can be employed only if the number of intervals is even. The Simpsons Three-Eighths rule, however, has utility when the number of segments, the intervals, is odd. An alternative would be to apply Simpsons 3/8 rule to the last three segments.,Adaptive Quadrature Methods,Matlab ha
13、s two main functions for quadrature, quad, and quadl to approximate the definite integrals . Both routines use adaptive quadrature.,Romberg Integration,Romberg integration uses the composite Trapezoidal rule to give preliminary approximations and then applies the Richardson extrapolation process, th
14、at is, decreases the step size successively, to improve the approximation.,Richardson extrapolation is used to generate high-accuracy results while using low-order formulas. Extrapolation can be applied whenever it is known that an approximation technique has an error term with a predictable form, o
15、ne that depends on a parameter, usually the step size h. Suppose that for each number h 0 we have a formulathat approximates an unknown value M and the truncation error involved with the approximation has the form,for some collection of unknown constants K1, K2, K3, .,The truncation error is O(h), that is,The object of extrapolation is to find an easy way to combine the rather inaccurate O(h), approximations in an appropriate way to produce formulas with a higher-order truncation error.,Now we consider the result when we replace the parameter h by half its value.,Subtraction
温馨提示
- 1. 本站所有资源如无特殊说明,都需要本地电脑安装OFFICE2007和PDF阅读器。图纸软件为CAD,CAXA,PROE,UG,SolidWorks等.压缩文件请下载最新的WinRAR软件解压。
- 2. 本站的文档不包含任何第三方提供的附件图纸等,如果需要附件,请联系上传者。文件的所有权益归上传用户所有。
- 3. 本站RAR压缩包中若带图纸,网页内容里面会有图纸预览,若没有图纸预览就没有图纸。
- 4. 未经权益所有人同意不得将文件中的内容挪作商业或盈利用途。
- 5. 人人文库网仅提供信息存储空间,仅对用户上传内容的表现方式做保护处理,对用户上传分享的文档内容本身不做任何修改或编辑,并不能对任何下载内容负责。
- 6. 下载文件中如有侵权或不适当内容,请与我们联系,我们立即纠正。
- 7. 本站不保证下载资源的准确性、安全性和完整性, 同时也不承担用户因使用这些下载资源对自己和他人造成任何形式的伤害或损失。
最新文档
- 2026年河北省张家口市达标名校初三新课程第三次适应性测试英语试题含解析
- 内蒙古巴彦淖尔市乌拉特前旗2026年初三下学期中考适应性月考(八)英语试题含解析
- 2026届浙江省临安市於潜第一初级中学初三3月第二次周考英语试题含解析
- 生态农业发展推进承诺书(5篇)
- 浙江省嘉兴市嘉善一中等五校2026届初三中考语文试题系列模拟卷(2)含解析
- 契约信用恪守承诺书6篇
- 客户服务投诉处理流程客户反馈处理指南
- 仓库库存管理标准操作模板介绍
- 行业风险评估与防范指导书
- 财产防护责任明确承诺书6篇
- 2026年海底管道智能巡检报告及未来五至十年海洋工程报告
- 检验科设备更新周期的成本效益模型构建
- RCEP培训商务部课件
- 2025年斯多特普拉提笔试及答案
- 儿童过敏免疫诊疗中心过敏免疫门诊规范化建设专家共识课件
- 2025年医院党支部书记党建工作述职报告
- 大疆创新软件测试工程师晋升答辩含答案
- 2025 机器人售后运维服务报告:远程诊断、备件管理与盈利模式
- GB/T 46595-2025排水泵站一体化设备
- 输电线路工程试验检测项目计划
- 2025年高职汽车电子(汽车电子技术)试题及答案
评论
0/150
提交评论