- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
Introduction to Scientific Computing-- A Matrix Vector Approach Using Matlab Written by Charles F.Van Loan 陈 文 斌 Wbchen@fudan.edu.cn 复旦大学 Numerical Integration The Newton-Cotes Rules Composite Rules Adaptive Quadrature Special Topics Shared Memory Adaptive Quadrature * An m-point quadrature rule Q for the definite integral is an approximation of the form abscissas weights Efficiency essentially depends upon the number of function evaluations. The Newton-Cotes Rules M-point Newton-Cotes rule where pm-1(x) interpolates f(x) at m=2 trapezoidal rule m=3 and c=(a+b)/2 Simpson rule Equal spacing, x=a+sh Weight [1 3 3 1]/8 for QNC(4) function w = NCweights(m) if m==2, w=[1 1]/2; elseif m==3, w=[1 4 1]/6; elseif m==4, w=[1 3 3 1]/8; elseif m==5, w=[7 32 12 32 7]/90; elseif m==6, w=[19 75 50 50 75 19]/288; elseif m==7, w=[41 216 27 272 27 216 41]/840; elseif m==8, w=[751 3577 1323 2989 2989 1323 3577 751]/17280; elseif m==9, w=[989 5888 -928 10496 -4540 10496 -928 5888 … 989]/28350; elseif m==10, w=[2857 15741 1080 19344 5778 5778 19344 1080… 15741 2857]/89600; else w=[16067 106300 -48525 272400 -260550 427368 … -260550 272400 -48525 106300 16067]/598752; end w(1:m)=w(m:-1:1) function numI = QNC(fname,a,b,m) w = NCweights(m); x = linspace(a,b,m); f = feval(fname,x); numI = (b-a)*(w*f); m QNC(sin, 0, pi/2,m ) 2 0.7853981633974483 3 1.0022798774922104 4 1.0010049233142790 5 0.9999915654729927 6 0.9999952613861668 7 1.0000000258372352 8 1.0000000158229039 9 0.9999999999408976 10 0.9999999999621676 11 1.0000000000001021 If f(x) and its first four derivatives are continuours on [a,b], then Where M4 is an upper bound on |f(4)(x)| on [a,b] Note that if f(x) is a cubic polynomial, then f(4)(x)=0 and so Simposns rule is exact. This is somewhat surprising because The rule i
您可能关注的文档
最近下载
- 邮储银行柜员培训课件.pptx VIP
- 2025年浙能集团甘肃有限公司、新能源项目(第二批)招聘17人笔试备考题库及答案解析.docx VIP
- 通威新员工入职培训第一次考试.docx VIP
- 2025广西专业技术人员公需科目培训考试答案(87分);广西“一区两地一园一通道”建设;人工智能时代(1).pdf VIP
- 入学证明怎么写(模板).docx VIP
- GBT 11345-2023 焊缝无损检测 超声检测 技术、检测等级和评定.pdf VIP
- 2025年浙能集团甘肃有限公司、新能源项目(第二批)招聘17人笔试参考题库附答案解析.docx VIP
- 解读《GB_T 44770-2024智能火电厂技术要求》全面解读.docx VIP
- 西安研学旅行策划书3篇.pdf VIP
- 建筑工程识图课件-建筑识图与构造课件.ppt VIP
文档评论(0)