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

% Ex. No. 62 (Section 14.3 : Courbe exponentielle)

\begin{tikzpicture}[scale=1.25]
   \tkzInit[xmin=-6,xmax=4,ymin=-5,ymax=6]
   \tkzGrid
   \tkzAxeXY
   \tkzFct[color=red,thick,domain=-6:2.1785]{(-x*x+x+2)*exp(x)}
   \tkzSetUpPoint[size=6]
   \tkzDrawTangentLine[draw,kl=2](0)
   \tkzDefPoint(2,0){b}  \tkzDrawPoint(b)
   \tkzDefPoint(-1,0){c} \tkzDrawPoint(c)
   \tkzText(2,4){($\mathcal{C}$)}
   \tkzText(-2,-3){($\mathcal{T}$)}
\end{tikzpicture}

\end{document}