1
.TH integrate 1 "April 1993" "Scilab Group" "Scilab Function"
4
integrate - integration by quadrature
7
[x]=integrate(expr,v,x0,x1 [,ea [,er]])
15
: string (integration variable)
18
: real numbers (bounds of integration)
21
: real numbers (absolute error bound) Default value: 0
24
: real number, (relative error bound) Default value: 1.d-8
36
.LA $$ x = \int_{x_0}^{x_1} f(v)dv $$
38
The evaluation hopefully satisfies following claim for accuracy:
39
\fVabs(I-x)<= max(ea,er*abs(I))\fR where I stands for the
40
exact value of the integral.
44
integrate('sin(x)','x',0,%pi)
45
integrate(['if x==0 then 1,';
46
'else sin(x)/x,end'],'x',0,%pi)
49
intg, inttrap, intsplin, ode