- 1、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。。
- 2、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 3、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
- 4、该文档为VIP文档,如果想要下载,成为VIP会员后,下载免费。
- 5、成为VIP后,下载本文档将扣除1次下载权益。下载后,不支持退款、换文档。如有疑问请联系我们。
- 6、成为VIP后,您将拥有八大权益,权益包括:VIP文档下载权益、阅读免打扰、文档格式转换、高级专利检索、专属身份标志、高级客服、多端互通、版权登记。
- 7、VIP文档为合作方或网友上传,每下载1次, 网站将根据用户上传文档的质量评分、类型等,对文档贡献者给予高额补贴、流量扶持。如果你也想贡献VIP文档。上传文档
查看更多
Lec1_FinitePrecisionComp
Gauss Error (absolute value of derivative minus difference quotient) as a function of h (Log-Log scale) The truncation error of the finite difference approximation is bounded by Mh/2. Assuming the error in function values is bounded by ε, the rounding error is bounded by 2 ε/h. Total computational error is Where M is a bound on |f”(t)| for t near x. There is a tradeoff between truncation error and rounding error in choosing the step size h. It is minimized when x=ones(35,1); x(1)=11/2; x(2)=61/11; for i=3:35 x(i)=111-(1130-3000/x(i-2))/x(i-1); end x(35) Consider the recurrence In exact arithmetic the xk form a monotonically increasing sequence that converges to 6. Implement the recurrence and compare the computed x34 with the true value 5.998 (to four correct signicant figures) The mathematical convergence depends on the initial conditions x0, x1: convergence to 100 for almost all (x0, x1); convergence to 6 ? x0(11- x1)=30; convergence to 5 ? x0=x1=5 (exactly in machine representation) fplot(x^3-111*x^2+1130*x-3000,[-400,400]) fplot(x^3-111*x^2+1130*x-3000,[4,7]) fplot(x^3-111*x^2+1130*x-3000,[-10,110]) syms x1 x2 x3 x1=sym(11)/sym(2); x2=sym(61/11); for i=3:35 x3=111-(1130-3000/x1)/x2 x1=x2; x2=x3; end x3 x3=1721981182794095961389986301/287093876567205105910375321 ≈5.99797252168491 Array[x,35]; x[1]=11/2; x[2]=61/11; Do[x[i+2]=111-(1130-3000/x[i])/x[i+1],{i,1,33}]; (*For[i=1,i=33,i++,x[i+2]=111-(1130-3000/x[i])/x[i+1]];*) (*While[i=33,x[i+2]=111-(1130-3000/x[i])/x[i+1];i++]; *) x[35] Givens Neumann Goldstine Turing Wilkinson Backward error analysis Condition number 向前误差 ≤ 条件数 X 向后误差 数据 解 (A nearby problem) Condition number, backward error * * 有限精度计算 —— 浮点系统,误差 武汉大学数学与统计学院 向 华 The sign s, the exponent e, the mantissa m (the significant figures) Two basic formats of IEC/IEEE Floating-Point Numbers: Single Precision Format: format width N=32 bits. s e m 1 8 bits 23 bits s e m 1 11 bits 52 bits Double Precision Format: format width N=64 bit
您可能关注的文档
最近下载
- 导游词写作协议合同.docx VIP
- TJXXCCY-泰和乌鸡肉团标.pdf VIP
- 2025年浙江省教研课题立项名录(公示).docx VIP
- 基础二次灌浆新项目施工专题方案.doc VIP
- 国家基层糖尿病神经病变诊治指南(2024版).docx VIP
- 罗斯蒙特 8732E 型电磁流量计说明书.pdf
- DBJT 15-22-2008 锤击式预应力混凝土管桩基础技术规程10广东省标图集.docx VIP
- 四川省巴中市恩阳古镇旅游综合建设项目建筑报规文本封面及扉页.pdf VIP
- 2024年春学期部编版小学语文六年级下册教学进度表 .pdf VIP
- 铁路货车车辆介绍 货车作用及分类教学PPT课件.pptx
原创力文档


文档评论(0)