\documentclass[a4paper,10pt]{article} \usepackage{myXsim} \title{Graphiques et tableaux} \tribe{Terminale ES} \date{Septembre 2019} \pagestyle{empty} \begin{document} \begin{exercise}[subtitle={Tableaux}] Tracer le tableau de variation et le tableau de signe des fonctions représentées ci-dessous. \begin{minipage}{0.4\textwidth} \begin{tikzpicture}[scale=0.6, baseline=(a.north)] \repere{-5}{5}{-5}{5} \draw[very thick, color=red] plot [smooth,tension=0.5, mark=*] coordinates{(-4, -2) (-3.5, -3) (-3, 0) (-2, 1) (-1, 0) (0, -2) (1, -1) (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} \begin{tikzpicture}[baseline=(a.north), yscale=0.7, xscale=2, yscale=0.8] \tkzInit[xmin=-0.2,xmax=0.2,xstep=.1, ymin=-12,ymax=6,ystep=2] \tkzGrid \tkzAxeXY \draw (-1,3) node[below left] {$\mathcal{C}_g$}; \tkzFct[domain = -.1:.2,color=red,very thick]% {-5+x*(0.5+4*x*x*(-2+x))} \end{tikzpicture} \end{minipage} \end{exercise} \begin{exercise}[subtitle={Graphique}] Pour chaque tableau ci-dessous, tracer le graphique d'une fonction qui pourrait convenir. \begin{minipage}{0.5\textwidth} \begin{tikzpicture}[baseline=(a.north)] \tkzTabInit[lgt=1,espcl=1]{$x$/1,$f(x)$/1}{-10, -3, -2 , -1, 6, 10} \tkzTabLine{,+, z, -, z, +, z, -, z, +, } \end{tikzpicture} \end{minipage} \begin{minipage}{0.5\textwidth} \begin{tikzpicture}[baseline=(a.north)] \tkzTabInit[lgt=1,espcl=1]{$x$/1,$g(x)$/1}{$-\infty$, -2, 1, 4, $+\infty$} \tkzTabLine{,+, z, -, z, -, z, -, } \end{tikzpicture} \end{minipage} \begin{tikzpicture}[baseline=(a.north)] \tkzTabInit[lgt=1,espcl=2]{$x$/1,$h(x)$/1}{-5, -3, 0, 3, $+\infty$} \tkzTabVar{+/ 2, -/ -2, +/ -1, -/ -3, +/ } \end{tikzpicture} \end{exercise} \printexercise{exercise}{1} \printexercise{exercise}{2} \end{document}