怎么用matlab程序写二分法求方程根?

日期:2019-10-08 21:17:36 人气:1

怎么用matlab程序写二分法求方程根?

二分法在很多地方应该都会见到,这里是通过二分法迭代逼近的方法求出一个方程的根。 function xc = bisection(f,a,b,tol)% use the bisection method to find the root of the function% Page 30,computer problem 7(Bisection method)% input:% f:the function that transform from the equation% a,b:the left and
    A+
热门评论