Import Work from 2012/2013

This commit is contained in:
Benjamin Bertrand
2017-06-16 09:45:50 +03:00
commit 80f8d6b71f
350 changed files with 12673 additions and 0 deletions

Binary file not shown.

View File

@@ -0,0 +1,96 @@
\documentclass[a4paper,10pt]{/media/documents/Cours/Prof/Enseignements/Archive/2012-2013/tools/style/classDS}
\usepackage{eurosym}
% Title Page
\title{Devoir surveillé: Statistiques}
\author{}
\date{7 mai 2013}
\fancyhead[L]{$2^{\mbox{nd}}12$ : \Thetitle}
\begin{document}
\maketitle
\thispagestyle{fancy}
Le barème est donné à titre indicatif, il pourra être modifié.
\begin{Exo}
% Exo sur les téléphones portables et le prof malhonnête
Au cours du mois précédent, un professeur à ramassé beaucoup de téléphones portables. Il les a classé en fonction du prix qu'il pourrait les vendre au marché noir.
\begin{center}
\begin{tabular}[h]{|c|*{7}{c|}}
\hline
Prix du téléphone & $\intOF{10}{30}$ & $\intOF{30}{50}$ & $\intOF{50}{70}$ & $\intOF{90}{110}$ & $\intOF{110}{130}$ & $\intOF{150}{170}$ & $\intOF{210}{230}$\\ \hline
Nombre de téléphones & 3 & 2 & 10 & 23 & 30 & 10 & 5 \\ \hline
\end{tabular}
\end{center}
\begin{enumerate}
\item Analyse de la situation
\begin{enumerate}
\item Quelle est la population étudiée?
\item Quel est le caractère étudié? Est-il qualitatif ou quantitatif?
\item Quel est l'effectif total de cette série statistique?
\end{enumerate}
\item Représenter ces données avec un graphique approprié.
\item Calculer la moyenne de cette série en prenant la milieu de chaque classe. Que signifie ce chiffre?
\item On estime qu'un téléphone se revendant moins de 50\euro est un vieux téléphone. Quel est la proportion de vieux téléphones parmi les téléphones confisqués?
\end{enumerate}
\end{Exo}
\begin{Exo}
À la sortie d'un fast food, on a demandé aux clients combien ils avaient dépensé. On a recueilli ces données dans le tableau suivant:
\begin{center}
\begin{tabular}[h]{|*{7}{c|}}
\hline
5 & 10 & 7 & 10 & 20 & 15 & 5 \\ \hline
18 & 8 & 1 & 15 & 5 & 14 & 12 \\ \hline
8 & 25 & 10 & 5 & 8 & 15 & 7 \\ \hline
\end{tabular}
\end{center}
\begin{enumerate}
\item Analyse de la situation
\begin{enumerate}
\item Quelle est la population étudiée?
\item Quel est le caractère étudié? Est-il qualitatif ou quantitatif?
\item Quel est l'effectif total de cette série statistique?
\end{enumerate}
\item Classer ces données.
\item Sans utiliser la calculatrice, calculer la médiane et les quartiles.
\item Tracer la boite à moustaches correspondant à ces données.
\item Une étude similaire a conduit à la boite à moustaches suivante
\begin{center}
\includegraphics[scale=3]{fig/bam}
\end{center}
Répondre aux questions suivantes à partir de la boite à moustache ci dessus.
\begin{enumerate}
\item Donner les valeurs de $Me$, $Q_1$ et $Q_3$.
\item Quel est l'étendu de cette étude?
\item Est-il vrai que 50\% des clients ont dépensé plus de 10\euro? Justifier.
\item Est-il vrai que 75\% des clients on dépensé plus de 9 \euro? Justifier.
\end{enumerate}
\end{enumerate}
\end{Exo}
\begin{Exo} (4 points) \\
% exo pompé du bouquin Repère p262
Sur la figure ci-dessous, $ABC$ est un triangle ayant ses trois angles aigus. $(\mathcal{C})$ est le cercle de diamètre $[AB]$ et coupe $[AC]$ en $M$ et $[BC]$ en $N$. On note $H$ le point d'intersection de $(NB)$ et de $(NA)$.
%\note{Il faut changer le dessin!!}
\begin{center}
\includegraphics[scale=0.5]{fig/triangle}
\end{center}
\begin{enumerate}
\item Que peut-on dire des angles $AMB$ et $ANB$?
\item Que représente le point $H$ pour le triangle $ABC$?
\item En déduire que $(CH)$ et $(AB)$ sont perpendiculaires.
\end{enumerate}
\end{Exo}
\end{document}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: "master"
%%% End:

Binary file not shown.

View File

@@ -0,0 +1,107 @@
\documentclass[a4paper,10pt]{/media/documents/Cours/Prof/Enseignements/Archive/2012-2013/tools/style/classDS}
\usepackage{eurosym}
% Title Page
\title{Devoir surveillé: Statistiques}
\author{}
\date{7 mai 2013}
\fancyhead[L]{$2^{\mbox{nd}}12$ : \Thetitle}
\begin{document}
\maketitle
\thispagestyle{fancy}
Le barème est donné à titre indicatif, il pourra être modifié.
\begin{Exo}
% Exo sur les téléphones portables et le prof malhonnête
\begin{enumerate}
\item Analyse de la situation
\begin{enumerate}
\item La population étudiée est les téléphones portables ramassé par la professeur.
\item Le caractère étudié est leur prix, c'est un caractère quantitatif.
\item Pour calculer l'effectif total, on additionne l'effectif de chaque classe
\begin{eqnarray*}
3+2+10+23+30+10+5 = 83
\end{eqnarray*}
Il a confisqué 83 téléphones en tout.
\end{enumerate}
\item Ici le caractère est quantitatif continu, nous allons donc tracer un histogramme.
\note{Le tracer - et faire la fonction dans pystat asso}
\item Moyenne de la série (le milieu de la classe $\intOF{10}{30}$ est 20 par exemple)
\begin{eqnarray*}
\bar{x} &=& \frac{x_1 \times n_1 + x_2 \times n_2 + ... + x_p \times n_p}{n_1 + n_2 + ... + n_p} \\
&=& \frac{20 \times 3 + 40 \times 2 + 60 \times 10 + 100 \times 23 + 120 \times 30 + 160 \times 10 + 220 \times 5 }{83}\\
&=& 112.53
\end{eqnarray*}
La moyenne est donc de 112.53 \euro{} ce qui signifie qu'en moyenne, il pourra revendre un télphone à 112.53 \euro{}.
\item On compte $3+2 = 5$ vieux téléphones et 83 téléphones en tout. D'où la proportion de vieux téléphones:
\begin{eqnarray*}
\frac{5}{83} \times 100 = 6
\end{eqnarray*}
Il a ramassé 6\% de vieux téléphones.
\end{enumerate}
\end{Exo}
\begin{Exo}
\begin{enumerate}
\item Analyse de la situation
\begin{enumerate}
\item La population étudié est les clients à la sortie du fast food.
\item Le caractère étudié est l'argent qu'ils ont dépensé dans le fast food, c'est un caractère quantitatif.
\item Comme le tableau est rectangulaire, il suffit de multiplier le nombre de colonnes par le nombre de ligne pour avoir l'effectif total. Donc l'effectif total est égal à $7 \times 3 = 21$.
\end{enumerate}
\item Données classées
\begin{center}
\begin{tabular}{|c|*{11}{c|}}
\hline
Valeurs & 1 & 5 & 7 & 8 & 10 & 12 & 14 & 15 & 18 & 20 & 25 \\ \hline
Effectifs & 1 & 4 & 2 & 3 & 3 & 1 & 1 & 3 & 1 & 1 & 1 \\ \hline
\end{tabular}
\end{center}
\item Position de la médiane: $\dfrac{\mbox{effectif total}}{2} = \dfrac{21}{2} = 10.5$. Donc la médiane se trouve à la position: 11.
On a ainsi $Me = 10$
Position de $Q_1$: $\dfrac{1 \times \mbox{effectif total}}{4} = \dfrac{1 \times 21}{4} = 5.25$. Donc $Q_1$ se trouve à la position: 6.
On a ainsi $Q_1 = 7$
Position de $Q_3$: $\dfrac{3 \times \mbox{effectif total}}{4} = \dfrac{3 \times 21}{4} = 15.75$. Donc $Q_3$ se trouve à la position: 16.
On a ainsi $Q_3 = 15$
\item Tracer la boite à moustaches correspondant à ces données. \note{à faire joliement si possible}
\item Une étude similaire a conduit à la boite à moustaches suivante
\begin{center}
\includegraphics[scale=3]{fig/bam}
\end{center}
Répondre aux questions suivantes à partir de la boite à moustache ci dessus.
\begin{enumerate}
\item On peut lire ces valeurs sur la boite à moustaches
\begin{center}
\includegraphics[scale=3]{fig/bam2_corr}
\end{center}
\note{À modifier correctement}
On a donc $Me = 11$, $Q_1 = 9$ et $Q_3 = 15$.
\item L'étendue est la différence du maximum avec le minimum donc
\begin{eqnarray*}
\max - \min = 22 - 1 = 21
\end{eqnarray*}
Cette étude est étendue sur 21 \euro{}.
\item C'est faux car $Me = 11$ et donc il y a 50\% des clients qui on dépensé plus de 11\euro{}.
\item C'est vrai car $Q_1 = 9$ et donc il y a 25\% des clients qui ont dépensés moins de 9 \euro{} soit 75\% qui ont dépensés plus de 9\euro{.}.
\end{enumerate}
\end{enumerate}
\end{Exo}
\end{document}
%%% Local Variables:
%%% mode: latex
%%% TeX-master: "master"
%%% End:

Binary file not shown.

Binary file not shown.

View File

@@ -0,0 +1,5 @@
\begin{pspicture*}(-.4,-.5)(2.5,1)
\psset{xunit=.1,yunit=.5}
%sinon :
\bam{1}{1}{9}{11}{15}{22}{22}
\end{pspicture*}

Binary file not shown.

View File

@@ -0,0 +1,5 @@
\begin{pspicture*}(-.4,-.5)(2.5,1)
\psset{xunit=.1,yunit=.5}
%sinon :
\bam{1}{1}{7}{10}{15}{25}{25}
\end{pspicture*}

Binary file not shown.

View File

@@ -0,0 +1,5 @@
\begin{pspicture*}(-.4,-.5)(2.5,1)
\psset{xunit=.1,yunit=.5}
%sinon :
\bam{1}{1}{7}{10}{15}{25}{25}
\end{pspicture*}

View File

@@ -0,0 +1,43 @@
\NeedsTeXFormat{LaTeX2e}
% Macro pour faire des boites à moustaches
\RequirePackage{multido}
\RequirePackage{calc}
\RequirePackage{ifthen}
%\bam{min}{d1}{q1}{med}{q2}{d9}{max}
\newlength{\haut}
\newlength{\bas}
\newcounter{bam}\setcounter{bam}{-1}
\newcommand{\bam}[7]{
\ifthenelse{\thebam=-1}{
% C'est la première boite à moustache, il faut mettre en place les premiers éléments
\psset{fillstyle=solid}
\psline{->}(0,0)(28,0)
{\scriptsize
\multido{\n=0+1}{26}{%
\psline(\n,.1)(\n,-.1)}
\multido{\n=0+10}{20}{%
\psline(\n,.2)(\n,-.2)
\uput[d](\n,0){\n}}}
}{}
% Dessin de la boite à moustaches
% Décalage vers le haut de la boite à moustaches
\addtocounter{bam}{2}
% On trace la boite
\setlength{\haut}{\thebam\psyunit+.2\psyunit}
\setlength{\bas}{\thebam\psyunit-.2\psyunit}
% On trace du min au max avec des pointillés
\psline[linestyle=dotted](#1,\thebam\psyunit)(#7,\thebam\psyunit)
% On trace de d1 à d9 les moustaches
\psline{|-|}(#2,\thebam\psyunit)(#6,\thebam\psyunit)
% On trace la boite
\psframe(#3,\bas)(#5,\haut)
\uput[u](#3,\haut){\tiny $Q_1$}
\uput[u](#5,\haut){\tiny $Q_3$}
% Puis la médiane
\psline(#4,\bas)(#4,\haut)
\uput[u](#4,\haut){\tiny $Me$}
}

View File

@@ -0,0 +1,26 @@
#!/bin/sh
# on enlève lextension du 1er argument
FILE=${1%.*}
TMPFILE=pstemp
# création dun fichier temporaire psttemp.tex
cat > $TMPFILE.tex <<EOF
\documentclass{article}
\usepackage{pstricks}
\usepackage{pstricks-add}
\usepackage{pst-eps}
\usepackage{boiteAMoustaches}
\thispagestyle{empty}
\begin{document}
\begin{TeXtoEPS}
\input{$FILE}
\end{TeXtoEPS}
\end{document}
EOF
# Création du fichier dvi
latex $TMPFILE
# Création du fichier eps
dvips -E $TMPFILE.dvi -o $TMPFILE.eps
# Création du fichier pdf
epstopdf $TMPFILE.eps --debug --outfile=$FILE.pdf
# effacement des fichiers temporaires
rm -f $TMPFILE.*

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

View File

@@ -0,0 +1,181 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="688.09003"
height="589.35999"
id="svg2"
version="1.1"
inkscape:version="0.48.4 r9939"
sodipodi:docname="Nouveau document 1">
<defs
id="defs4" />
<sodipodi:namedview
id="base"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:pageopacity="0.0"
inkscape:pageshadow="2"
inkscape:zoom="0.7"
inkscape:cx="303.38782"
inkscape:cy="420.85776"
inkscape:document-units="px"
inkscape:current-layer="layer1"
showgrid="false"
inkscape:window-width="1364"
inkscape:window-height="748"
inkscape:window-x="0"
inkscape:window-y="274"
inkscape:window-maximized="0" />
<metadata
id="metadata7">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title></dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<g
inkscape:label="Calque 1"
inkscape:groupmode="layer"
id="layer1"
transform="translate(0,-462.99706)">
<text
xml:space="preserve"
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="655.71429"
y="648.07648"
id="text3769"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3771"
x="655.71429"
y="648.07648" /></text>
<text
xml:space="preserve"
style="font-size:40px;font-style:normal;font-weight:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Sans"
x="317.14285"
y="549.50507"
id="text3803"
sodipodi:linespacing="125%"><tspan
sodipodi:role="line"
id="tspan3805"
x="317.14285"
y="549.50507" /></text>
<g
id="g3846"
transform="matrix(1.1629694,0,0,1.1629694,-77.772626,245.27503)">
<path
inkscape:connector-curvature="0"
id="path2985"
d="m 120.92817,635.21944 501.03566,0 -325.26912,-385.87827 z"
style="fill:none;stroke:#000000;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<path
sodipodi:open="true"
sodipodi:end="3.1415927"
sodipodi:start="0"
transform="matrix(1.3719325,0,0,-1.3719325,93.139685,1484.3947)"
d="m 387.14287,619.50507 c 0,101.77819 -82.50753,184.28572 -184.28572,184.28572 -101.7782,0 -184.285724,-82.50753 -184.285724,-184.28572 0,-1e-5 0,-1e-5 0,-1e-5"
sodipodi:ry="184.28572"
sodipodi:rx="184.28572"
sodipodi:cy="619.50507"
sodipodi:cx="202.85715"
id="path3757"
style="fill:none;stroke:#000000;stroke-width:4;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none"
sodipodi:type="arc" />
<path
inkscape:connector-curvature="0"
id="path3759"
d="M 624.28571,635.21933 210,440.93361"
style="fill:none;stroke:#000000;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<path
inkscape:connector-curvature="0"
id="path3761"
d="M 118.57143,633.79075 412.85714,385.21933"
style="fill:none;stroke:#000000;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:none" />
<path
inkscape:connector-curvature="0"
id="path3763"
d="m 297.14286,249.50504 1.42857,388.57143"
style="fill:none;stroke:#000000;stroke-width:3;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-opacity:1;stroke-dasharray:3, 6;stroke-dashoffset:0" />
<text
sodipodi:linespacing="125%"
id="text3765"
y="233.79076"
x="314.28571"
style="font-size:40px;font-style:normal;font-variant:normal;font-weight:500;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Century Schoolbook L;-inkscape-font-specification:Century Schoolbook L Medium"
xml:space="preserve"><tspan
y="233.79076"
x="314.28571"
id="tspan3767"
sodipodi:role="line">C</tspan></text>
<text
sodipodi:linespacing="125%"
id="text3765-3"
y="661.08789"
x="625.73999"
style="font-size:40px;font-style:normal;font-variant:normal;font-weight:500;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Century Schoolbook L;-inkscape-font-specification:Century Schoolbook L Medium"
xml:space="preserve"><tspan
y="661.08789"
x="625.73999"
id="tspan3767-0"
sodipodi:role="line">B</tspan></text>
<text
sodipodi:linespacing="125%"
id="text3765-2"
y="685.3736"
x="74.311432"
style="font-size:40px;font-style:normal;font-variant:normal;font-weight:500;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Century Schoolbook L;-inkscape-font-specification:Century Schoolbook L Medium"
xml:space="preserve"><tspan
y="685.3736"
x="74.311432"
id="tspan3767-9"
sodipodi:role="line">A</tspan></text>
<text
sodipodi:linespacing="125%"
id="text3765-29"
y="435.3736"
x="160.02571"
style="font-size:40px;font-style:normal;font-variant:normal;font-weight:500;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Century Schoolbook L;-inkscape-font-specification:Century Schoolbook L Medium"
xml:space="preserve"><tspan
y="435.3736"
x="160.02571"
id="tspan3767-2"
sodipodi:role="line">M</tspan></text>
<text
sodipodi:linespacing="125%"
id="text3765-0"
y="368.23074"
x="412.88284"
style="font-size:40px;font-style:normal;font-variant:normal;font-weight:500;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Century Schoolbook L;-inkscape-font-specification:Century Schoolbook L Medium"
xml:space="preserve"><tspan
y="368.23074"
x="412.88284"
id="tspan3767-1"
sodipodi:role="line">N</tspan></text>
<text
sodipodi:linespacing="125%"
id="text3765-03"
y="556.80219"
x="308.59714"
style="font-size:40px;font-style:normal;font-variant:normal;font-weight:500;font-stretch:normal;line-height:125%;letter-spacing:0px;word-spacing:0px;fill:#000000;fill-opacity:1;stroke:none;font-family:Century Schoolbook L;-inkscape-font-specification:Century Schoolbook L Medium"
xml:space="preserve"><tspan
y="556.80219"
x="308.59714"
id="tspan3767-3"
sodipodi:role="line">H</tspan></text>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 7.7 KiB

View File

@@ -0,0 +1,37 @@
Notes sur DS 130507
###################
:date: 2013-07-01
:modified: 2013-07-01
:tags: DS, Stats
:category: 2nd
:authors: Benjamin Bertrand
:summary: Pas de résumé, note créée automatiquement parce que je ne l'avais pas bien fait...
`Lien vers DS_stat_corr.tex <DS_stat_corr.tex>`_
`Lien vers DS_stat.tex <DS_stat.tex>`_
`Lien vers DS_stat_corr.pdf <DS_stat_corr.pdf>`_
`Lien vers DS_stat.pdf <DS_stat.pdf>`_
`Lien vers fig/triangle.png <fig/triangle.png>`_
`Lien vers fig/bam_corr.tex <fig/bam_corr.tex>`_
`Lien vers fig/arbre.pdf <fig/arbre.pdf>`_
`Lien vers fig/bam2_corr.pdf <fig/bam2_corr.pdf>`_
`Lien vers fig/bam.tex <fig/bam.tex>`_
`Lien vers fig/bam.pdf <fig/bam.pdf>`_
`Lien vers fig/bam_corr.pdf <fig/bam_corr.pdf>`_
`Lien vers fig/boiteAMoustaches.sty <fig/boiteAMoustaches.sty>`_
`Lien vers fig/bam2_corr.tex <fig/bam2_corr.tex>`_