\documentclass[14pt]{classPres} \usepackage{tkz-fct} \usepackage{listings} \author{} \title{} \date{} \begin{document} \begin{frame}{Questions flash} \begin{center} \vfill 2nd \vfill 30 secondes par calcul \vfill {\Large Calculatrice autorisée} \vfill \tiny \jobname \end{center} \end{frame} \begin{frame}[fragile]{Calcul 1} % Proba - ensemble % Proba - ensemble On note $A = \left\{\mbox{ Sucré }\right\}$ \hfill $B = \left\{\mbox{ Fondant }\right\}$ \vfill Comment peut noter l'évènement "bonbon pas sucré et fondant"? \vfill \end{frame} \begin{frame}{Calcul 2} % Fractions Déterminer l'abscisse du point $A$ \vfill \begin{center} \begin{tikzpicture}[scale=0.7] % \draw[line width=2mm, color=red] (0, 0) -- (3, 0); % \draw[line width=2mm, color=red] (5, 0) -- (8, 0); \draw[thick, ->] (0,0) -- (16, 0); \foreach \x in {0, 1, ..., 15} \draw[] (\x, -0.1) -- (\x, 0.1); \draw[very thick] (1, 0.2) -- (1, -0.2); \draw[very thick] (6, 0.2) -- (6, -0.2) node [below] {0}; \draw[very thick] (11, 0.2) -- (11, -0.2) node [below] {1}; \draw (12, 0) node {$\bullet$} node [above] {$A$}; %\draw (12, 0) node [below] {2}; \end{tikzpicture} \end{center} \vfill \end{frame} \begin{frame}[fragile]{Calcul 3} % Information chiffrée \vfill Le cours des matières première a augmenté de 10\% le matin avant de diminuer de 15\% dans l'après midi. \vfill Quel est le taux d'évolution total sur la journée? \vfill \end{frame} \begin{frame}[fragile]{Calcul 4} % Programmation \begin{center} \begin{lstlisting}[language=Python, basicstyle=\small, frame=] a = 13 if a > 15: print("Blahblahblah") elif a > 10: print("olala") elif a > 5: print("Youpi") else: print("Oups") \end{lstlisting} \end{center} \vfill Que va afficher le programme? \vfill \end{frame} \begin{frame}{Fin} \begin{center} On retourne son papier. \end{center} \end{frame} \end{document}