AP-SCE/Mex/a33.m

15 lines
322 B
Mathematica
Raw Normal View History

2018-01-05 21:42:24 +00:00
% function accepts 2 strings, 1 double and the number of iterations
% a31("func_name","func_derv_name", start, limit)
% functions must be in appropriate form for newton
%
%exp.:
% function y=func(x)
% y=(x^4-x-10);
% end
%
% function y=func_der(x)
% y=4*x^3-1;
% end
%
2018-01-20 11:01:52 +00:00
% a33("func","func_der",2,100)
2018-01-05 21:42:24 +00:00
% ans=1.8556