%% Newton method matlab code for tabular result %Dejen Ketema, March,2019. function p=newton_table_2019(f,df,p0,tol) fprintf(' n p |p-p0| \n'); fprintf('-------------------------------\n'); for n=1:100 p=p0-f(p0)/df(p0); if abs(p-p0)