\documentclass[a4paper,10pt]{article}
\usepackage{myXsim}

\title{Thème B: tableau de signe et de variations}
\tribe{Terminal ES-L}
\date{Septembre 2018}

\renewcommand{\arraystretch}{1}

\begin{document}

\section*{Tableau de signe et de variations} 

\hspace{-1cm}
\begin{minipage}{0.5\textwidth}
    \begin{tikzpicture}[scale=0.8]
        \repere{-5}{5}{-5}{5}
        \draw[very thick, color=red] plot [smooth,tension=0.5, mark=*] coordinates{(-4, 4) (-3.5, 2) (-3, 0) (-2, 1) (-1, 0) (0, -2) (1, -3) (2, -2) (2.5,0) (3, 2) (4, 3)};
        \draw (4,3) node[above right] {$\mathcal{C}_f$};
    \end{tikzpicture}
\end{minipage}
\begin{minipage}{0.5\textwidth}
    Tableau de signe

    \begin{tikzpicture}
        \tkzTabInit[lgt=1,espcl=2]{$x$/1,$f(x)$/1}{-4, -3, -1, 2.5, 4}
        \tkzTabLine{,+, z, +, z, -, z, +, }
    \end{tikzpicture}

    Tableau de variations

    \begin{tikzpicture}
        \tkzTabInit[lgt=1,espcl=2]{$x$/1,$f(x)$/1}{-4, -3, -2, 1, 4}
        \tkzTabVar{+/ 4, -/ 0, +/ 1, -/ -3, +/ 3}
    \end{tikzpicture}
\end{minipage}
\end{document}

%%% Local Variables: 
%%% mode: latex
%%% TeX-master: "master"
%%% End:

