AP-SCE/Mex/a32.m

11 lines
253 B
Mathematica
Raw Normal View History

2018-01-05 21:42:24 +00:00
%function accepts 1 string, 2 doubles and the number of iterations
% a31("func_name", start, end, limit)
% function must be in appropriate form for bisection
%
%exp.:
% function y=func(x)
% y=(x^4-x-10);
% end
%
% a32("func",2,3,100)
% ans=1.8556