%%%%%%%% DEBUT DESSIN RECTANGLE
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\input fig4tex.tex
\figinit{1truecm}
\figpt 1:(-0.5,0)\figpt 2:(6.5,0)\figpt 3:(6,4.5)\figpt 4:(6,-0.5)
\figpt 5:(0,4.5)\figpt 6:(0,-0.5)
% courbe
\figpt 10:(0,3)\figpt 11:(2,4)\figpt 12:(4,2)\figpt 13:(6,4)
\figptscontrol 15[10,11,12,13]
% vecteur
\figvectC 30(1,0) % i
\figvectC 31(0,1) % j
% autres points
\figptinterlines 7:[6,31;1,30]\figptinterlines 8:[4,31;1,30] % a et b
% rectangle
\figptinterlines 20:[12,30;4,31]
\figptinterlines 21:[12,31;1,30]
\figptinterlines 22:[11,30;12,31]
\figptinterlines 23:[11,31;1,30]
\figptinterlines 24:[10,30;11,31]
%%%%%%%%%%%%%%%%%%%%%
%% fichier graphique
%%%%%%%%%%%%%%%%%%%
\psbeginfig{}
\psline[1,2]\psline[3,4]\psline[5,6]
\psBezier 1[10,15,16,13]
\pssetdash{5}
\psline[23,11,22,21,12,20]\psline[10,24]
\pssetdash{\defaultdash}
\psendfig
%%%%%%%%%%%%%%%%%%%
%% writing
%%%%%%%%%%%%%%%%%%%
\figvisu{\figBoxA}{M\'ethode des rectangles \`a gauche}{
\figwrites 23:$x_1$(0.1)\figwrites 21:$x_2$(0.1)
%\figwritee 15:$y={f(x)}$(0.1)
\figsetmark{$\bullet$}
\figwritesw 7:$a$(0.1)\figwritese 8:$b$(0.1)
\figwritec[11,12,10,20]{$\bullet$}
}
\box\figBoxA
\bye