\begin{exercice}
 On considère une fonction $f$ dont on donne la représentation graphique ci-dessous.

 \begin{center}
  \begin{tikzpicture}[general, scale=0.9]
   \draw [quadrillage55, line width = 0.1mm] (-2,-2) grid (3,3);
   \draw [quadrillage] (-2,-2) grid (3,3);
   \axeX{-2}{3}{1}
   \axeY{-2}{3}{1}
   \origine
   \draw [domain=-2:0, color=A1, smooth] plot(\x,{-(\x+0.5)^2+0.25});
   \draw [domain=0:1, color=A1, smooth] plot(\x,{(\x)^3-(\x)^2-\x});
   \draw [domain=1:3, color=A1, smooth] plot(\x,{(\x-1)^2-1});
   \draw (1.8,1.5) [color=A1] node[right]{{\boldmath $\mathcal{C}_f$}};
  \end{tikzpicture}
 \end{center}
 
 \vspace{-2em}
 
 \begin{enumerate}
  \item Établir le tableau de signes de $f(x)$.
  \item Établir le tableau de variations de $f$.
 \end{enumerate}
 
 \begin{corrige}
 ~\\
  \begin{enumerate}
   \item 
    \begin{tikzpicture}[baseline = -1.5ex,general,yscale=0.70]
     \tkzTabInit[lgt=1, espcl=0.6, color, colorC=H4, colorV=H4, colorL=H4, colorT=A4, lw=0.3mm]
     {$x$ / 1, $f(x)$ / 1}
     {$-2$, $-1$, 0, 2, 3}
     \tkzTabLine{ , -, z, +, z, -, z, +, }
    \end{tikzpicture}
   \item
    \begin{tikzpicture}[baseline = -1.5ex,general,yscale=0.70]
     \tkzTabInit[lgt=1, espcl=0.7, color, colorC=H4, colorV=H4, colorL=H4, colorT=A4, lw=0.3mm]
     {$x$ / 1, $f$ / 2}
     {$-2$, $-\frac{1}{2}$, 1, 3}
     \tkzTabVar{-/$-2$, +/$0{,}25$, -/$-1$, +/3}
    \end{tikzpicture}
  \end{enumerate}
 \end{corrige}
\end{exercice}