Debian Codegraph @

texmf-dist/doc/latex/probsoln/samples/prob-probspaces.tex

raw
1 % This file is public domain
2 %
3 % Finite probability spaces
4 \newproblem{weightedcoin}{%
5 A coin is weighted so that heads is four times as likely
6 as tails. Find the probability that:
7 \begin{textenum}
8 \item tails appears,
9 \item heads appears
10 \end{textenum}}{%
11 Let $p=P(T)$, then $P(H)=4p$. We require $P(H)+P(T)=1$,
12 so $4p+p=1$, hence $p=\frac{1}{5}$. Therefore:
13 \begin{textenum}
14 \item $P(T)=\frac{1}{5}$,
15 \item $P(H)=\frac{4}{5}$
16 \end{textenum}}
17
18 \newproblem*{validprobspaces}{%
19 Under which of the following functions does
20 $S=\{a_1,a_2\}$ become a probability space?
21 \par
22 \begin{textenum}
23 \begin{tabular}{ll}
24 \incorrectitem $P(a_1)=\frac{1}{3}$, $P(a_2)=\frac{1}{2}$
25 &
26 \correctitem $P(a_1)=\frac{3}{4}$, $P(a_2)=\frac{1}{4}$
27 \\
28 \correctitem $P(a_1)=1$, $P(a_2)=0$
29 &
30 \incorrectitem $P(a_1)=\frac{5}{4}$, $P(a_2)=-\frac{1}{4}$
31 \end{tabular}
32 \end{textenum}
33 }