只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2016-11-17 16:26 木卜木卜木卜木卜木卜 阅读(5) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2016-11-17 16:15 木卜木卜木卜木卜木卜 阅读(11) 评论(0) 推荐(0) 编辑
摘要: a=1.0 b=1.5 f=sym('x^4-x-2') e=eps(realmin).*10 while (b-a)>0.0001 c=(a+b)/2 if sign(subs(f,'x',c))==sign(subs(f,'x',a)) a=c else b=c end end a = 1 b = 1.5000 f = x^4 - x - ... 阅读全文
posted @ 2016-11-17 16:07 木卜木卜木卜木卜木卜 阅读(219) 评论(0) 推荐(0) 编辑