Numerical Analysis
摘要:
PART1 <求解方程> 1,二分法 def bisect(f,a,b,TOL=0.000004): u_a = a u_b = b while(u_b-u_a)/2.0 > TOL: c = (u_a+u_b)/2.0 if f(c) == 0: break if f(u_a)*f(c) < 0: 阅读全文
posted @ 2019-01-22 23:02 gearslogy 阅读(713) 评论(0) 推荐(0) 编辑