\documentclass[14pt]{classPres}
\setmainfont{OpenDyslexic}
\usepackage{pgfplots} 

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

\begin{document}
\begin{frame}{Questions flash}
    \begin{center}
        \vfill
        4e
        \vfill
        30 secondes par calcul
        \vfill
        %\Large{Calculatrice autorisée}
        \vfill
        \tiny \jobname
    \end{center}
\end{frame}

\begin{frame}[fragile]{Calcul 1}
    % Conversions
    Convertir en $m$
    \[
        \np{34,56}km
    \]
\end{frame}

\begin{frame}{Calcul 2}
    % Aire
    Calculer le périmètre de la figure bleu
    \begin{center}
        \begin{tikzpicture}%[rotate=40]
            \draw[fill=blue!30] (0, 0) circle (3);

            \draw (0, 0) node {x} -- 
                node[midway, sloped, above] {4m}
                (3, 0);
        \end{tikzpicture}
    \end{center}
\end{frame}

\begin{frame}[fragile]{Calcul 3}
    % Pythagore
    Calculer la longueur de coté manquant
    \begin{center}
        \begin{tikzpicture}[baseline=(current bounding box.north), scale=0.7]
            \draw[fill=blue!20] 
                (0,0) -- node[ midway, sloped, below]{12cm}
                (-3,0) -- node[midway, sloped, above]{5cm} 
                (-3,2) -- 
                cycle;
            \draw (-3, 0) rectangle ++(0.2, 0.2);
            \draw (0, 0) rectangle ++(-3, -3);
            \draw (-3, 0) rectangle ++(-2, 2);
            \draw (0, 0) -- (2, 3) -- (-1, 5) -- (-3, 2) -- cycle;
        \end{tikzpicture}
    \end{center}
\end{frame}

\begin{frame}[fragile]{Calcul 4}
    % Réciproque de Pythagore
    Est-ce que le triangle est rectangle?
    \begin{center}
        \begin{tikzpicture}[baseline=(current bounding box.north)]
            \draw[fill=blue!20] 
                (0,0) -- node[ midway, sloped, below]{3cm}
                (-3,0.5) -- node[midway, sloped, above]{4cm} 
                (-3,2) -- node[midway, sloped, above] {5cm}
                cycle;
        \end{tikzpicture}
    \end{center}
\end{frame}

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


\end{document}
