Compare commits
3 Commits
518a03e5c1
...
9b7471273b
Author | SHA1 | Date | |
---|---|---|---|
9b7471273b | |||
52ebba2e39 | |||
805bc7aa62 |
@ -116,6 +116,165 @@
|
|||||||
"outputs": [],
|
"outputs": [],
|
||||||
"source": []
|
"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",
|
"cell_type": "markdown",
|
||||||
"id": "9880d494",
|
"id": "9880d494",
|
||||||
|
BIN
2nd/14_Information_Chiffrée_2/2B_coef_mult.pdf
Normal file
BIN
2nd/14_Information_Chiffrée_2/2B_coef_mult.pdf
Normal file
Binary file not shown.
@ -92,4 +92,4 @@
|
|||||||
\end{itemize}
|
\end{itemize}
|
||||||
|
|
||||||
\afaire{Compléter les calculs}
|
\afaire{Compléter les calculs}
|
||||||
\end{document
|
\end{document}
|
||||||
|
BIN
2nd/Questions_flashs/P4/QF_S10-1.pdf
Normal file
BIN
2nd/Questions_flashs/P4/QF_S10-1.pdf
Normal file
Binary file not shown.
95
2nd/Questions_flashs/P4/QF_S10-1.tex
Executable file
95
2nd/Questions_flashs/P4/QF_S10-1.tex
Executable file
@ -0,0 +1,95 @@
|
|||||||
|
\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}
|
BIN
2nd/Questions_flashs/P4/QF_S10-2.pdf
Normal file
BIN
2nd/Questions_flashs/P4/QF_S10-2.pdf
Normal file
Binary file not shown.
95
2nd/Questions_flashs/P4/QF_S10-2.tex
Executable file
95
2nd/Questions_flashs/P4/QF_S10-2.tex
Executable file
@ -0,0 +1,95 @@
|
|||||||
|
\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}
|
BIN
2nd/Questions_flashs/P4/QF_S10-3.pdf
Normal file
BIN
2nd/Questions_flashs/P4/QF_S10-3.pdf
Normal file
Binary file not shown.
94
2nd/Questions_flashs/P4/QF_S10-3.tex
Executable file
94
2nd/Questions_flashs/P4/QF_S10-3.tex
Executable file
@ -0,0 +1,94 @@
|
|||||||
|
\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}
|
BIN
2nd/Questions_flashs/P4/QF_S10-4.pdf
Normal file
BIN
2nd/Questions_flashs/P4/QF_S10-4.pdf
Normal file
Binary file not shown.
94
2nd/Questions_flashs/P4/QF_S10-4.tex
Executable file
94
2nd/Questions_flashs/P4/QF_S10-4.tex
Executable file
@ -0,0 +1,94 @@
|
|||||||
|
\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}
|
Loading…
Reference in New Issue
Block a user