\documentclass[14pt]{classPres}
\usepackage{tkz-fct}

\author{}
\title{}
\date{}

\begin{document}
\begin{frame}{Questions flashs}
    \begin{center}
        \vfill
        Terminale L-ES
        \vfill
        Un peu moins d'une minute par calcul
        \vfill
        \tiny \jobname
    \end{center}
\end{frame}

\begin{frame}[fragile]{Calcul 1}
    Donner une encadrement de  $\dispaystyle \int_0^3 f(x) dx$
    \begin{center}
        \begin{tikzpicture}[xscale=2, yscale=0.5]
            \tkzInit[xmin=0,xmax=3,xstep=1,
            ymin=0,ymax=10,ystep=1]
            \tkzGrid
            %\tkzGrid[sub, subxstep=0.5, subystep=1]
            \tkzAxeXY[up space=0.5,right space=.2]
            \tkzFct[domain = 0:3, line width=1pt]{-x*x+9}
        \end{tikzpicture}
    \end{center}
\end{frame}

\begin{frame}{Calcul 2}
    Quelle est la limite de la suite?
    \[
        u_n = 4\times0.5^n + 1
    \]
\end{frame}

\begin{frame}[fragile]{Calcul 3}
    Calculer $P(E)$
    \begin{center}
        \begin{tikzpicture}[xscale=2, grow=right]
            \node {.} 
            child {node {$F$}
                child {node {$E$} 
                    edge from parent
                    node[below] {0.8}
                }
                child {node {$\overline{E}$}
                    edge from parent
                    node[above] {0.2}
                } 
                edge from parent
                node[below] {0.3}
            }
            child[missing] {}
            child { node {$\overline{F}$}
                child {node {$E$}
                    edge from parent
                    node[below] {0.9}
                }
                child {node {$\overline{E}$}
                    edge from parent
                    node[above] {0.1}
                } 
                edge from parent
                node[above] {0.7}
            } ;
        \end{tikzpicture}
    \end{center}
\end{frame}

\begin{frame}[fragile]{Calcul 4}
    \begin{center}
        \begin{tikzpicture}[yscale=0.3, xscale=2, baseline=(a.north)]
            \tkzInit[xmin=0,xmax=4,xstep=1,
            ymin=0,ymax=16,ystep=1]
            \tkzGrid
            \tkzAxeX[right space=0.2]
            \tkzAxeY[up space=2, step=2]
            \draw[very thick, color=red] plot [smooth,tension=0.5] coordinates{%
                (0,0) (0.5,6) (1,10) (1.5,5) (2,4) (3,8)  (4,16)
        };
            \draw (3,13) node[above right] {$\mathcal{C}_f$};
        \end{tikzpicture}
    \end{center}

    Sur quel intervalle la fonction est convexe?
\end{frame}

\begin{frame}{Fin}
    \begin{center}
        On retourne son papier.
    \end{center}
\end{frame}


\end{document}
