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

\title{Nombre dérivé}
\tribe{1ST}
\date{Janvier 2020}

\pagestyle{empty}

%\geometry{left=15mm,right=15mm, bottom=8mm, top=5mm}
\begin{document}

\begin{exercise}[subtitle={Graphique}]
    Pour chacun des graphiques ci-dessous compléter les tableaux pour trouver les nombres dérivés.
    \begin{enumerate}
        \item ~

            \begin{minipage}{0.4\textwidth}
                \begin{tikzpicture}[yscale=.45, xscale=1]
                    \tkzInit[xmin=-3,xmax=3,xstep=1,
                    ymin=-5,ymax=5,ystep=1]
                    \tkzGrid
                    \tkzAxeXY[up space=0.5,right space=.5]
                    \tkzFct[domain = -3:3, line width=1pt]{-x**2}
                \end{tikzpicture}
            \end{minipage}
            \hfill
            \begin{minipage}{0.5\textwidth}
                \begin{tabular}{|m{2cm}|c|}
                    \hline
                    x & Nombre dérivé $f'(x)$\\
                    \hline
                    -2 & \\
                    \hline
                    -1 &  \\
                    \hline
                    0 &  \\
                    \hline
                    1 &  \\
                    \hline
                    2 &  \\
                    \hline
                \end{tabular}
            \end{minipage}

    \item ~

            \begin{minipage}{0.4\textwidth}
                \begin{tikzpicture}[yscale=.35, xscale=1]
                    \tkzInit[xmin=-3,xmax=3,xstep=1,
                    ymin=-7,ymax=7,ystep=1]
                    \tkzGrid
                    \tkzAxeXY[up space=0.5,right space=.5]
                    \tkzFct[domain = -3:3, line width=1pt]{0.5*x**2 - 2}
                \end{tikzpicture}
            \end{minipage}
            \hfill
            \begin{minipage}{0.5\textwidth}
                \begin{tabular}{|m{2cm}|c|}
                    \hline
                    x & Nombre dérivé $f'(x)$\\
                    \hline
                    -2 & \\
                    \hline
                    -1 &  \\
                    \hline
                    0 &  \\
                    \hline
                    1 &  \\
                    \hline
                    2 &  \\
                    \hline
                \end{tabular}
            \end{minipage}
        \item Pour les deux fonctions précédentes, à partir des valeurs déjà trouvées, ne pourrait-on pas trouver une formule qui pourrait calculer tous les nombres dérivés de ces fonctions? \\ Combien vaudrait dans chacun des cas $f'(10)$? $f'(0,5)$?

        \item ~

            \begin{minipage}{0.4\textwidth}
                \begin{tikzpicture}[yscale=.45, xscale=1]
                    \tkzInit[xmin=-3,xmax=3,xstep=1,
                    ymin=-5,ymax=5,ystep=1]
                    \tkzGrid
                    \tkzAxeXY[up space=0.5,right space=.5]
                    \tkzFct[domain = -3:3, line width=1pt]{2*x+1}
                \end{tikzpicture}
            \end{minipage}
            \hfill
            \begin{minipage}{0.5\textwidth}
                \begin{tabular}{|m{2cm}|c|}
                    \hline
                    x & Nombre dérivé $f'(x)$\\
                    \hline
                    -2 & \\
                    \hline
                    -1 &  \\
                    \hline
                    0 &  \\
                    \hline
                    1 &  \\
                    \hline
                    2 &  \\
                    \hline
                \end{tabular}
            \end{minipage}

    \item ~

            \begin{minipage}{0.4\textwidth}
                \begin{tikzpicture}[yscale=.35, xscale=1]
                    \tkzInit[xmin=-3,xmax=3,xstep=1,
                    ymin=-7,ymax=7,ystep=1]
                    \tkzGrid
                    \tkzAxeXY[up space=0.5,right space=.5]
                    \tkzFct[domain = -3:3, line width=1pt]{4}
                \end{tikzpicture}
            \end{minipage}
            \hfill
            \begin{minipage}{0.5\textwidth}
                \begin{tabular}{|m{2cm}|c|}
                    \hline
                    x & Nombre dérivé $f'(x)$\\
                    \hline
                    -2 & \\
                    \hline
                    -1 &  \\
                    \hline
                    0 &  \\
                    \hline
                    1 &  \\
                    \hline
                    2 &  \\
                    \hline
                \end{tabular}
            \end{minipage}
    \end{enumerate}
\end{exercise}


\end{document}