mirror of https://github.com/Askill/AP-SCE.git
11 lines
248 B
Mathematica
11 lines
248 B
Mathematica
|
|
%function accepts 1 string, 2 double and increments
|
||
|
|
% a542("func_name", x, y, inc)
|
||
|
|
% function returns lowest found return of passed function
|
||
|
|
%
|
||
|
|
%exp.:
|
||
|
|
% function z=func(x,y)
|
||
|
|
% z=-(x*x + y*y);
|
||
|
|
% end
|
||
|
|
%
|
||
|
|
% a542("func",-2,-2, 0.1)
|
||
|
|
% ans=6.3838e-016
|