\documentclass[a4paper,12pt]{article}
\begin{document}
\parindent=0pt
QUESTION

 An engineering works receives supplies of a certain component
   from three different factories, 30\% from factory $A,$ 60\% from
   factory $B$ and the remainder from factory $C.$ Past experience has
   shown the percentage defective produced by the factories $A, B$
   and $C$ are 1\%,2\% and 3\%respectively. A random sample of 100
   components all from the same unknown factory are examined and 3
   defectives are found. Find approximately the probability that
   the sample came from factory $A.$

\bigskip

ANSWER

\begin{tabular}{cccc}
    &A&B&C\\
    \% supplied&30&60&10\\
    \%defective&1 &2 &3\\
    Poisson $\mu$&1&2&3
   \end{tabular}

   Given 100 components, if $x$\% are defective where $x$ is small, the
   number of components which are defective is $P(x)$. Since we
   have three defectives we need to find $P(3).$

   \begin{eqnarray*}
    A:P(3)&=&\frac{e^{-1}1^3}{3!}=0.061\\
    B:P(3)&=&\frac{e^{-2}2^3}{3!}=0.180\\
    C:P(3)&=&\frac{e^{-3}3^3}{3!}=0.224\\
   \end{eqnarray*}

\setlength{\unitlength}{.5in}

\begin{center}
\begin{picture}(8,2)
\put(0,0.9){$\bullet$} \put(0,1){\line(2,1){2}}
\put(0,1){\line(1,0){2}} \put(0,1){\line(2,-1){2}} \put(1,0.1){.1}
\put(1,1.1){.6} \put(1,1.7){.3} \put(2.1,-0.1){$C$}
\put(2.1,.9){$B$} \put(2.1,1.9){$A$} \put(2.4,0){\line(1,0){2}}
\put(2.4,1){\line(1,0){2}} \put(2.4,2){\line(1,0){2}}
\put(4.5,-0.1){3 defectives} \put(4.5,.9){3 defectives}
\put(4.5,1.9){3 defectives} \put(3.2,.1){.224} \put(3.2,1.1){.180}
\put(3.2,2.1){.061}
\end{picture}
\end{center}

\bigskip

   $P(3 \textrm{ defectives})=0.3\times 0.61+0.6 \times 0.180+0.1
   \times 0.224=0.1487$\\
   $P(A|3 \textrm{ defectives}\ )=\frac{0.3\times 0.061}{0.1487}=0.123$


\end{document}
