Feeds
提问
Newton's Method missing value
I wrote Newton's method to be function [cVec,n] = Newtons_method(f,fp,x0,tol,nmax) cVec = []; cVec(1)=x0; i=0; while i...
3 years 前 | 1 个回答 | 0
1
个回答提问
Bisection method while loop help
function [cVec,n] = bisection_method(f,a,b,tol) [cVec] = []; if f(a)*f(b)>0 % Return empty vector and n=0 if f(a)f(b)=0 ...
3 years 前 | 1 个回答 | 0