%
% tkz-euclide (14/01/2011)
%
% Coding (utf8) Creator (TeX) Producer (pdfeTeX) 
% Author Alain Matthes
\input{tkzfctpreamble.ltx}

\begin{document}

  \begin{tikzpicture}[scale=1.5]
   \tkzInit[xmin=-3,xmax=4,ymin=-4,ymax=2]
   \tkzGrid   \tkzDrawXY \tkzClip
   \tkzFct[domain = -2.15:3.2]{(-x*x)+2*x}
   \tkzDefPointByFct[draw](2)
   \tkzDrawTangentLine[kl=0,draw](-1)
   \tkzDrawTangentLine[draw](1)
   \tkzDrawTangentLine[kr=0,draw](3)
   \tkzRep
 \end{tikzpicture}

\end{document} 
