2022-2023/2nd/Questions_flashs/P4/QF_S12-2.tex

103 lines
2.3 KiB
TeX
Executable File

\documentclass[14pt]{classPres}
\usepackage{tkz-fct}
\usepackage{minted}
\author{}
\title{}
\date{}
\begin{document}
\begin{frame}{Questions flashs}
\begin{center}
\vfill
2nd
\vfill
30 secondes par calcul
\vfill
\tiny \jobname
\end{center}
\end{frame}
\begin{frame}{Calcul 1}
% Statistiques
Déterminer le premier quartile de la série statistique suivante
\vfill
\begin{center}
\begin{tabular}{|*{5}{c|}}
\hline
30 & 33 & 40 & 40 & 45 \\
\hline
45 & 50 & 50 & 52 & 56 \\
\hline
56 & 58 & 59 & 60 & 60 \\
\hline
\end{tabular}
\end{center}
\vfill
\end{frame}
\begin{frame}[fragile]{Calcul 2}
% inéquation
Résoudre l'inéquation
\[
3x + 2 \leq 4x + 6
\]
\end{frame}
\begin{frame}[fragile]{Calcul 3}
% Python
\begin{center}
\begin{minipage}{0.8\linewidth}
\begin{minted}[bgcolor=base3,linenos]{python}
S = 10
if S < 15:
for i in range(4):
S = S - 5
else:
for i in range(2):
S = S + 5
\end{minted}
\end{minipage}
\end{center}
\vfill
Combien vaut $S$ à la fin du programme?
\vfill
\end{frame}
\begin{frame}[fragile]{Calcul 4}
% Vecteurs
\begin{minipage}{0.3\linewidth}
Déterminer un vecteur égal à
\[
2\vect{u} + \vect{AF}
\]
\end{minipage}
\hfill
\begin{minipage}{0.5\linewidth}
\begin{tikzpicture}[scale=1]
%\draw (0, 0) grid (6, 6);
\draw (0, 0) rectangle (6, 6);
\draw (4, 5) node {x} node [above right] {$A$};
\draw (2, 1) node {x} node [below right] {$B$};
\draw (4, 1) node {x} node [below right] {$C$};
\draw (2, 5) node {x} node [above right] {$D$};
\draw (1, 3) node {x} node [above left] {$E$};
\draw (5, 3) node {x} node [above right] {$F$};
\draw [->, very thick] (1, 1) -- node [midway, left] {$\vect{u}$} ++(1, 2);
\draw [->, very thick] (1, 4) -- node [midway, below ] {$\vect{v}$} ++ (2, 0);
\end{tikzpicture}
\end{minipage}
\end{frame}
\begin{frame}{Fin}
\begin{center}
On retourne son papier.
\end{center}
\end{frame}
\end{document}