The two-way table shows the number of houses on the market in the Castillos' price range.

\begin{tabular}{|c|c|c|c|c|c|}
\hline
& \begin{tabular}{c}
1 \\
Bedroom
\end{tabular} & 2 Bedrooms & 3 Bedrooms & 4 Bedrooms & Total \\
\hline
1 Bathroom & 21 & 0 & 0 & 9 & 30 \\
\hline
2 Bathrooms & 0 & 6 & 16 & 56 & 78 \\
\hline
3 Bathrooms & 0 & 18 & 40 & 56 & 114 \\
\hline
Total & 21 & 24 & 56 & 121 & 222 \\
\hline
\end{tabular}

What is the probability that a randomly selected house with 2 bathrooms has 3 bedrooms?

A. 0.2
B. 0.4
C. 0.6
D. 0.8



Answer :

To find the probability that a randomly selected house with 2 bathrooms has 3 bedrooms, follow these steps:

1. Identify the total number of houses with 2 bathrooms:
- According to the two-way table, the total number of houses with 2 bathrooms is 90.

2. Identify the number of houses with 2 bathrooms and 3 bedrooms:
- According to the table, the number of houses with 2 bathrooms and 3 bedrooms is 40.

3. Calculate the probability:
- The probability is calculated by dividing the number of houses with 2 bathrooms and 3 bedrooms by the total number of houses with 2 bathrooms.
- This can be represented by the formula:
[tex]\[ P(\text{3 bedrooms }|\text{ 2 bathrooms}) = \frac{\text{Number of houses with 2 bathrooms and 3 bedrooms}}{\text{Total number of houses with 2 bathrooms}} \][/tex]

4. Substitute the values:
[tex]\[ P(\text{3 bedrooms }|\text{ 2 bathrooms}) = \frac{40}{90} \][/tex]

5. Simplify the fraction (if possible) and convert to a decimal:
- The fraction [tex]\(\frac{40}{90}\)[/tex] simplifies to approximately 0.4444.

6. Express the probability in terms of options given:
- This corresponds to approximately 0.4.

Therefore, the probability that a randomly selected house with 2 bathrooms has 3 bedrooms is approximately 0.4.

Among the options provided:
0.2
0.4
0.6
0.8

The correct answer is:
0.4