mirror of https://github.com/Askill/AP-SCE.git
7 lines
194 B
Mathematica
7 lines
194 B
Mathematica
|
|
% function accepts 1 string and 3 doubles
|
||
|
|
% a621("function", interval_start, interval_end, precision)
|
||
|
|
%
|
||
|
|
% a621 implements trapz (integral)
|
||
|
|
%
|
||
|
|
%exp.: a621("sin",0,pi/2,0.000001)
|
||
|
|
% ans = 1.0000
|