It is now assumed that, in the store:
  • $80\%$ of the padlocks offered for sale are budget models, the others are high-end;
  • $3\%$ of high-end padlocks are defective;
  • $7\%$ of padlocks are defective.

A padlock is randomly selected from the store. We denote:
  • $p$ the probability that a budget padlock is defective;
  • $H$ the event: ``the selected padlock is high-end'';
  • $D$ the event: ``the selected padlock is defective''.

  1. Represent the situation using a probability tree.
  2. Express $P(D)$ as a function of $p$. Deduce the value of the real number $p$.

Is the result obtained consistent with that of question A-2?
3. The selected padlock is in good condition. Determine the probability that it is a high-end padlock.
It is now assumed that, in the store:
\begin{itemize}
  \item $80\%$ of the padlocks offered for sale are budget models, the others are high-end;
  \item $3\%$ of high-end padlocks are defective;
  \item $7\%$ of padlocks are defective.
\end{itemize}

A padlock is randomly selected from the store. We denote:
\begin{itemize}
  \item $p$ the probability that a budget padlock is defective;
  \item $H$ the event: ``the selected padlock is high-end'';
  \item $D$ the event: ``the selected padlock is defective''.
\end{itemize}

\begin{enumerate}
  \item Represent the situation using a probability tree.
  \item Express $P(D)$ as a function of $p$. Deduce the value of the real number $p$.
\end{enumerate}

Is the result obtained consistent with that of question A-2?

3. The selected padlock is in good condition. Determine the probability that it is a high-end padlock.