2019-2020/TES/Probabilte_statistiques/Loi_uniforme/1B_marche_noir.tex

95 lines
2.6 KiB
TeX

\documentclass[a4paper,10pt, landscape, twocolumn]{article}
\usepackage{myXsim}
\title{Bilan - marché noir}
\tribe{Terminale ES}
\date{Septembre 2019}
\pagestyle{empty}
\newcommand\exemple{%
\paragraph{Exemple - Marché noir}
$X$ la variable aléatoire décrivant les gains du professeur après avoir confisquer puis revendu un téléphone.
$X$ a pour loi
\begin{center}
\begin{tabular}[h]{|p{2cm}| *{6}{c|}}
\hline
Valeur & 10 & 40 & 150 & 200 & 250 \\ \hline
Probabilité& 0.10 & 0.05 & 0.50 & 0.05 & 0.30\\
\hline
\end{tabular}
\begin{tikzpicture}[scale=0.8]
\draw[very thin, gray] (0,0) grid (10,4);
\draw[line width=2mm,color=red] plot[ycomb] coordinates {(0.4, 0.4) (1.6, 0.2) (6, 2) (8, 0.2) (10, 1.2)};
\draw[->, very thick] (-0.5,0) -- (10.5,0);
\draw[->, very thick] (0,-0.5) -- (0,4.2);
\draw (0, 4.1) node [above] {Probabilité};
\draw (0, 4) node [left] {1};
\draw (0, 2) node [left] {0.5};
\draw (10, 0) node [above right] {Valeur};
\draw (10, 0) node [below] {250};
\draw (1, 0) node [below] {25};
% \draw[very thick, color=red, |-|] (0.4, 0) -- (0.4, 0.4);
% \draw[very thick, color=red, |-|] (1.6, 0) -- (1.6, 0.2);
% \draw[very thick, color=red, |-|] (6, 0) -- (6, 2);
% \draw[very thick, color=red, |-|] (8, 0) -- (8, 0.2);
% \draw[very thick, color=red, |-|] (10, 0) -- (10, 1.2);
\end{tikzpicture}
\end{center}
Espérance:
\vfill
\paragraph{Exemple - lancé de dé - équipartition}
$X$ la variable aléatoire décrivant le score obtenu à un lancé de dé.
$X$ a pour loi
\begin{center}
\begin{tabular}[h]{|p{2cm}| *{7}{c|}}
\hline
Valeur & 1 & 2 & 3 & 4 & 5 & 6 \\ \hline
Probabilité& $\frac{1}{6}$ & $\frac{1}{6}$ & $\frac{1}{6}$ & $\frac{1}{6}$ & $\frac{1}{6}$ & $\frac{1}{6}$ \\
\hline
\end{tabular}
\begin{tikzpicture}[scale=0.8]
\draw[very thin, gray] (0,0) grid (7,4);
\draw[line width=2mm,color=red] plot[ycomb] coordinates {(1, 1.666)(2, 1.666)(3, 1.666)(4, 1.666)(5, 1.666)(6, 1.666)};
\draw[->, very thick] (-0.5,0) -- (7.5,0);
\draw[->, very thick] (0,-0.5) -- (0,4.2);
\draw (0, 4.1) node [above] {Probabilité};
\draw (0, 4) node [left] {1};
\draw (0, 2) node [left] {0.5};
\draw (7, 0) node [above right] {Valeur};
\draw (1, 0) node [below] {1};
\draw (6, 0) node [below] {6};
\end{tikzpicture}
\end{center}
Espérance:
\vfill
}
\begin{document}
\exemple
\pagebreak
\exemple
\end{document}