Compare commits

..

No commits in common. "9b7471273b6e0a679d7d92cdd7e55b129113462e" and "518a03e5c104e9ab2854d237a3d47e2a7bf4efe1" have entirely different histories.

11 changed files with 1 additions and 538 deletions

View File

@ -116,165 +116,6 @@
"outputs": [],
"source": []
},
{
"cell_type": "markdown",
"id": "331a2cbc",
"metadata": {},
"source": [
"## 2- Dessins ASCII\n",
"\n",
"Le but de cette partie est de réaliser des dessins avec des chaines de caractères.\n",
"\n",
"Quand on multiplie une chaine de caractères (par exemple \"#\") par un entier (par exemple 4), python va répéter la chaine de caractères.\n",
"\n",
"Quelques exemples:"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "f853763e",
"metadata": {},
"outputs": [],
"source": [
"print(\"#\"*4)\n",
"print(\"-\"*10)\n",
"print(\"_\"*3, \" \"*2, \"-\"*5)"
]
},
{
"cell_type": "markdown",
"id": "39c31073",
"metadata": {},
"source": [
"On peut utiliser des boucles pour faire ensuite des motifs"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "f27d70f7",
"metadata": {},
"outputs": [],
"source": [
"for i in range(5):\n",
" print(\"-\", \"#\"*i)"
]
},
{
"cell_type": "markdown",
"id": "1cb955ec",
"metadata": {},
"source": [
"1. Réaliser le motif suivant:\n",
"\n",
"\n",
" -\n",
" --\n",
" ---\n",
" ----\n",
" -----\n",
" ------\n",
" -------\n",
" --------\n",
" --------- "
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "9722d016",
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "markdown",
"id": "f5b643e3",
"metadata": {},
"source": [
"2. Réaliser le motif suivant\n",
"\n",
" \n",
" ##\n",
" ####\n",
" ######\n",
" ########"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "500f4704",
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "markdown",
"id": "e3effd90",
"metadata": {},
"source": [
"3. Réaliser le motif suivant\n",
"\n",
" ######\n",
" #####\n",
" ####\n",
" ###\n",
" ##\n",
" #"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "95855d5a",
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "markdown",
"id": "7a8f1d02",
"metadata": {},
"source": [
"4. Réaliser le motif suivant\n",
"\n",
"\n",
" #\n",
" ##\n",
" ###\n",
" ####\n",
" #####\n",
" ######\n",
" #####\n",
" ####\n",
" ###\n",
" ##\n",
" #"
]
},
{
"cell_type": "markdown",
"id": "2593c488",
"metadata": {},
"source": [
"5. Réaliser le motif suivant\n",
"\n",
" # \n",
" ### \n",
" ##### \n",
" ####### "
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "dee48acd",
"metadata": {},
"outputs": [],
"source": []
},
{
"cell_type": "markdown",
"id": "9880d494",

View File

@ -92,4 +92,4 @@
\end{itemize}
\afaire{Compléter les calculs}
\end{document}
\end{document

Binary file not shown.

View File

@ -1,95 +0,0 @@
\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}
% Equation graphique
Résoudre graphiquement $f(x) \leq 3$
\begin{center}
\begin{tikzpicture}[scale=0.8]
\tkzInit[xmin=-5,xmax=5,xstep=1,
ymin=-3,ymax=5,ystep=1]
\tkzGrid
\tkzAxeXY
\draw[very thick, color=red] plot [smooth,tension=0.5] coordinates{%
(-5, 2)
(-4, 1)
(-3, 2)
(-2, 1)
(-1, 0)
(0, -2)
(1, -1)
(2, 0)
(3, 3)
(4, 4)
(5, 3)
};
\end{tikzpicture}
\end{center}
\end{frame}
\begin{frame}{Calcul 2}
% inéquation
Résoudre l'équation
\[
5x + 3 = 2x
\]
\end{frame}
\begin{frame}[fragile]{Calcul 3}
% unités
Convertir en $m^3$
\[
1234.2 cm^3
\]
\end{frame}
\begin{frame}[fragile]{Calcul 4}
% Proba - ensemble
$A = \left\{\mbox{ Les vieux }\right\}$
\hfill
$B = \left\{\mbox{ a des lunettes }\right\}$
\begin{center}
\begin{tabular}{|c|*{3}{c|}}
\hline
& Vieux & Jeunes & Total \\
\hline
A des lunettes & 34 & 76 & 110 \\
\hline
N'a pas de lunettes & 2 & 88 & 90 \\
\hline
total & 36 & 164 & 200 \\
\hline
\end{tabular}
\end{center}
Calculer $P(A)$
\end{frame}
\begin{frame}{Fin}
\begin{center}
On retourne son papier.
\end{center}
\end{frame}
\end{document}

Binary file not shown.

View File

@ -1,95 +0,0 @@
\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}
% Equation graphique
Résoudre graphiquement $f(x) \geq 1$
\begin{center}
\begin{tikzpicture}[scale=0.8]
\tkzInit[xmin=-5,xmax=5,xstep=1,
ymin=-3,ymax=5,ystep=1]
\tkzGrid
\tkzAxeXY
\draw[very thick, color=red] plot [smooth,tension=0.5] coordinates{%
(-5, 2)
(-4, 3)
(-3, 2)
(-2, 1)
(-1, 0)
(0, -2)
(1, -1)
(2, 0)
(3, 3)
(4, 4)
(5, 3)
};
\end{tikzpicture}
\end{center}
\end{frame}
\begin{frame}{Calcul 2}
% équation
Résoudre l'équation
\[
2x + 1 = 5x - 4
\]
\end{frame}
\begin{frame}[fragile]{Calcul 3}
% unités
Convertir en $m^3$
\[
1234.2 dm^3
\]
\end{frame}
\begin{frame}[fragile]{Calcul 4}
% Proba - ensemble
$A = \left\{\mbox{ Les vieux }\right\}$
\hfill
$B = \left\{\mbox{ a des lunettes }\right\}$
\begin{center}
\begin{tabular}{|c|*{3}{c|}}
\hline
& Vieux & Jeunes & Total \\
\hline
A des lunettes & 34 & 76 & 110 \\
\hline
N'a pas de lunettes & 2 & 88 & 90 \\
\hline
total & 36 & 164 & 200 \\
\hline
\end{tabular}
\end{center}
Calculer $P(\overline{A})$
\end{frame}
\begin{frame}{Fin}
\begin{center}
On retourne son papier.
\end{center}
\end{frame}
\end{document}

Binary file not shown.

View File

@ -1,94 +0,0 @@
\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}
% Equation graphique
Résoudre graphiquement $f(x) \leq 0$
\begin{center}
\begin{tikzpicture}[scale=0.8]
\tkzInit[xmin=-5,xmax=5,xstep=1,
ymin=-3,ymax=5,ystep=1]
\tkzGrid
\tkzAxeXY
\draw[very thick, color=red] plot [smooth,tension=0.5] coordinates{%
(-5, 2)
(-4, 3)
(-3, 2)
(-2, 1)
(-1, 0)
(0, -2)
(1, -1)
(2, 0)
(3, 3)
(4, 4)
(5, 3)
};
\end{tikzpicture}
\end{center}
\end{frame}
\begin{frame}{Calcul 2}
% équation
Résoudre l'équation
\[
4x + 2 = -2x - 12
\]
\end{frame}
\begin{frame}[fragile]{Calcul 3}
% unités
Convertir en $cm^3$
\[
9084.2 mm^3
\]
\end{frame}
\begin{frame}[fragile]{Calcul 4}
% Proba - ensemble
$A = \left\{\mbox{ Les vieux }\right\}$
\hfill
$B = \left\{\mbox{ a des lunettes }\right\}$
\begin{center}
\begin{tabular}{|c|*{3}{c|}}
\hline
& Vieux & Jeunes & Total \\
\hline
A des lunettes & 34 & 76 & 110 \\
\hline
N'a pas de lunettes & 2 & 88 & 90 \\
\hline
total & 36 & 164 & 200 \\
\hline
\end{tabular}
\end{center}
Calculer $P(A \cap B)$
\end{frame}
\begin{frame}{Fin}
\begin{center}
On retourne son papier.
\end{center}
\end{frame}
\end{document}

Binary file not shown.

View File

@ -1,94 +0,0 @@
\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}
% Equation graphique
Résoudre graphiquement $f(x) \leq 2$
\begin{center}
\begin{tikzpicture}[scale=0.8]
\tkzInit[xmin=-5,xmax=5,xstep=1,
ymin=-3,ymax=5,ystep=1]
\tkzGrid
\tkzAxeXY
\draw[very thick, color=red] plot [smooth,tension=0.5] coordinates{%
(-5, 4)
(-4, 3)
(-3, 2)
(-2, 1)
(-1, 0)
(0, -2)
(1, -1)
(2, 2)
(3, 3)
(4, 4)
(5, 3)
};
\end{tikzpicture}
\end{center}
\end{frame}
\begin{frame}{Calcul 2}
% équation
Résoudre l'équation
\[
3x - 3 = x - 3
\]
\end{frame}
\begin{frame}[fragile]{Calcul 3}
% unités
Convertir en $m^3$
\[
98.345 dm^3
\]
\end{frame}
\begin{frame}[fragile]{Calcul 4}
% Proba - ensemble
$A = \left\{\mbox{ Les vieux }\right\}$
\hfill
$B = \left\{\mbox{ a des lunettes }\right\}$
\begin{center}
\begin{tabular}{|c|*{3}{c|}}
\hline
& Vieux & Jeunes & Total \\
\hline
A des lunettes & 34 & 76 & 110 \\
\hline
N'a pas de lunettes & 2 & 88 & 90 \\
\hline
total & 36 & 164 & 200 \\
\hline
\end{tabular}
\end{center}
Calculer $P(\overline{B})$
\end{frame}
\begin{frame}{Fin}
\begin{center}
On retourne son papier.
\end{center}
\end{frame}
\end{document}