1
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?>
2
<!DOCTYPE MAN SYSTEM "../../manrev.dtd">
4
<LANGUAGE>fr</LANGUAGE>
6
<TYPE>Scilab Function </TYPE>
7
<DATE>April 1993 </DATE>
8
<SHORT_DESCRIPTION name="intg"> int�gration num�rique adaptative </SHORT_DESCRIPTION>
10
<CALLING_SEQUENCE_ITEM>[v,err]=intg(a,b,f [,ea [,er]) </CALLING_SEQUENCE_ITEM>
15
<PARAM_NAME>a,b </PARAM_NAME>
23
<PARAM_NAME>f </PARAM_NAME>
26
: fonction externe (fonction Scilab ou cha�ne de caract�res ou liste).
31
<PARAM_NAME>ea, er </PARAM_NAME>
39
<PARAM_NAME>ea </PARAM_NAME>
42
: erreur absolue d�sir�e (0 par d�faut)
47
<PARAM_NAME>er </PARAM_NAME>
50
: erreur relative (1.d-8 par d�faut)
55
<PARAM_NAME>err </PARAM_NAME>
58
: estimation de l'erreur absolue sur le r�sultat
66
<VERB>intg(a,b,f)</VERB> approche l'int�grale de <VERB>a</VERB> �
67
<VERB>b</VERB> de <VERB>f(t)dt</VERB>.
68
L'�valuation satisfait si possible
69
<VERB>abs(I-v)<= max(ea,er*abs(I))</VERB> o� I repr�sente la valeur exacte de l'int�grale.
72
<VERB>f</VERB> est une fonction externe :
75
Si <VERB>f</VERB> est une fonction Scilab elle doit avoir la liste d'appel :
76
<VERB> y = f(t) </VERB>
79
Si <VERB>f</VERB> est une liste, cette liste doit avoir la structure suivante :
80
<VERB> list(f,x1,x2,...)</VERB> o� <VERB>f</VERB> est une fonction Scilab avec la liste d'appel :
81
<VERB>f(t,x1,x2,...)</VERB>.
84
Si <VERB>f</VERB> <VERB>f</VERB> est une cha�ne de caract�res, elle d�signe le nom d'une subroutine Fortran
85
ou C (voir le code source de <VERB>fintg.f</VERB>)
89
deff('[y]=f(x)','y=x*sin(30*x)/sqrt(1-((x/(2*%pi))^2))')
91
abs(exact-intg(0,2*%pi,f))
92
// voir routines/default/Ex-intg.f
93
abs(exact-intg(0,2*%pi,'intgex'))
96
<SEE_ALSO_ITEM> <LINK>intc</LINK> </SEE_ALSO_ITEM> <SEE_ALSO_ITEM> <LINK>intl</LINK> </SEE_ALSO_ITEM> <SEE_ALSO_ITEM> <LINK>inttrap</LINK> </SEE_ALSO_ITEM> <SEE_ALSO_ITEM> <LINK>intsplin</LINK> </SEE_ALSO_ITEM> <SEE_ALSO_ITEM> <LINK>ode</LINK> </SEE_ALSO_ITEM>