计算方法-插值a素材.ppt

  1. 1、本文档共19页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
第三章 插值 /* Interpolation */ 当精确函数 y = f(x) 非常复杂或未知时,在一系列节点 x0 … xn 处测得函数值 y0 = f(x0), … yn = f(xn),由此构造一个简单易算的近似函数 g(x) ? f(x),满足条件g(xi) = f(xi) (i = 0, … n)。这里的 g(x) 称为f(x) 的插值函数。最常用的插值函数是 …? 多项式 x0 x1 x2 x3 x4 x g(x) ? f(x) f(x) g(x) 已知函数y=f(x)在区间[a, b]内一系列点xi上的函数值f(xi)=yi, i=0,1,…,n,求一简单函数P(x),使满足条件       P(xi)=yi, i=0,1,…,n, 称点xi为插值节点/* interpolating points */ ,[a, b]为插值区间/* interpolating region */ ,P(x)为插值函数/* interpolating function */ ,求P(x)的过程为函数插值/* function interpolating */ ,求P(x)的方法为插值法/* interpolation */ 。 定义 由于代数多项式的结构简单,数值近似和理论分析都方便,实用中常取代数多项式 作为插值函数,称其为n次插值多项式/* n-degree Interpolating polynomial */ ,求Pn(x)的过程也叫做拉格朗日插值/* Lagrange Interpolation */ 。 点斜式 3.1 拉格朗日插值 /* Lagrange Interpolation */ n i y x L i i n , ... , 0 , ) ( = = 求 n 次多项式 使得 条件:无重合节点,即 n = 1 线性插值 已知 x0 , x1 ; y0 , y1 ,求 使得 1 1 1 0 0 1 ) ( , ) ( y x L y x L = = 可见 L1(x) 是过 ( x0 , y0 ) 和 ( x1, y1 ) 两点的直线。 ) ( ) ( 0 0 1 0 1 0 1 x x x x y y y x L - - - + = 1 0 1 x x x x - - 0 1 0 x x x x - - = y0 + y1 l0(x) l1(x) ? = = 1 0 ) ( i i i y x l 称为拉氏基函数 /* Lagrange Basis */, 满足条件 li(xj)=?ij /* Kronecker Delta */ n = 2 抛物线插值 已知 x0 , x1 , x2 ; y0 , y1 , y2 ,求L2(x)=a0+a1x + a2x2, 使得L2(xi)= yi , i=0,1,2. 用基函数表示 3.1 Lagrange Interpolation 其中l0(x)、l1(x)、l2(x)为二次式,且满足以下条件 li(xj)=?ij The mathematician S. had to move to a new place. His wife didnt trust him very much, so when they stood down on the street with all their things, she asked him to watch their ten trunks, while she got a taxi. Some minutes later she returned. Said the husband: I thought you said there were ten trunks, but Ive only counted to nine! The wife said: No, theyre TEN! But I have counted them: 0, 1, 2, ... n ? 1 希望找到li(x),i = 0, …, n 使得 li(xj)=?ij ;然后令 ? = = n i i i n y x l x L 0 ) ( ) ( ,则显然有Ln(xi) = yi 。 li(x) 每个 li 有 n 个零点 x0 … [xi] … xn ? = - = - - - = n j j ? i j i n i i

您可能关注的文档

文档评论(0)

1112111 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

1亿VIP精品文档

相关文档