summaryrefslogtreecommitdiff
path: root/obsolete/macros/latex/contrib/tkz/tkz-fct/examples/latex/tkzFct-09-2-0.tex
blob: 64faec82cec4e3f86a7d8aeeed3c595461ee49d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
\input{preamble-standalone.ltx}
\begin{document}

% Ex. No. 36 (Section  9.2 : Somme de Riemann Inf)

\begin{tikzpicture}[scale=1.75]
\tkzInit[xmin=-3,xmax=6,ymin=-2,ymax=14,ystep=2]
\tkzDrawX \tkzDrawY
\tkzFct[line width=2pt,color = red, domain =-3:6]{(-\x-2)*(\x-5)}
\tkzDrawRiemannSumInf[fill=green!40,opacity=.5,interval=-1:5,number=10]
\end{tikzpicture}

\end{document}