文档下载 文档下载导航
设为首页 | 加入收藏
搜索 请输入内容:  
 导航当前位置: 文档下载 > 所有分类 > 高等教育 > 理学 > 常州大学数值分析第六章习题解答
侵权投诉

常州大学数值分析第六章习题解答

常州大学数值分析第六章习题解答

化专012 闵建中 12102914

1.解:

(1):

x = -2:0.1:0;

y1 = 3*x.^3-2*x+2;

y2 = 0;

常州大学数值分析第六章习题解答

plot(x,y1,'b-',x,y2,'r-')

由图可以看出,方程的有根区间为[-1.2,-1]

2.解:

(1) 使用二分法求满足精度要求的解:

a=-1.2;b=-1;delta=0.01;

f=@(x) ( 3*x.^3-2*x+2);

[c]=bisect(f,a,b,delta)

有结果如下:

c = -1.1187

(2)(3)小题同上!

3.试位法的matlab实现:

function [c,k]=fapo(f,a,b,epsilon,max1)

% Use false position to find the root of function

% Input : f = the function

% a,b = left and right brackets of root

% epsilon = the tolerance for the value of f at the zero

% max1 = the maximum number of iterations

% Output : c = estimate of the root

第1页

你可能喜欢

  • 2012地质大学高等数学习题答案
  • 高等土力学教材习题解答
  • 十一五课题调研卷数学理
  • 安徽大学高等数学c试卷

热门文档

相关文档

站点地图 | 文档上传 | 侵权投诉 | 手机版
本站所有资源均来自互联网,本站只负责收集和整理,均不承担任何法律责任,如有侵权等其它行为请联系我们.
文档下载 Copyright 2013 doc.guandang.net All Rights Reserved.  -  email