Answer: (a) 1/4 (b) 8/15 (c) 5/12 (d) 13/20 (e) 79/100
Step-by-step explanation:
Create a table of values (below) as it will be easier to do the calculations.
[tex]\begin{array}{l|c|c|c}&\underline{\text{Total at party}}&\underline{\text{Used magic}}&\underline{\text{Did NOT use magic}}\\\text{Gryffindor}&0.40&0.4(0.1)=0.04&0.4(0.9)=0.36\\\text{Hufflepuff}&0.30&0.3(0.2)=0.06&0.3(0.8)=0.24\\\text{Ravenclaw}&0.20&0.2(0.4)=0.08&0.2(0.6)=0.12\\\underline{\text{Slytherin}}&\underline{\qquad 0.10\qquad}&\underline{0.1(0.7)=0.07}&\underline{0.1(0.3)=0.03}\\\text{Totals}&1.00&0.25&0.75\end{array}[/tex]
[tex]a)\quad \dfrac{\text{Used magic}}{\text{Total at party}}=\dfrac{0.25}{1.00}=\large\boxed{\dfrac{1}{4}}[/tex]
[tex]b)\quad \dfrac{\text{Total Gryffindor}}{\text{Does NOT use magic}}=\dfrac{0.40}{0.75}=\large\boxed{\dfrac{8}{15}}[/tex]
[tex]c)\quad \dfrac{\text{Uses magic}}{\text{Total NOT Gryffindor}}=\dfrac{0.25}{1.00-0.40}=\dfrac{0.25}{.60}=\large\boxed{\dfrac{5}{12}}[/tex]
[tex]d)\quad \dfrac{\text{Does NOT use magic-NOT Gryffindor}}{\text{Total NOT Gryffindor}}=\dfrac{0.75-0.36}{1.00-0.40}=\dfrac{0.39}{0.60}=\large\boxed{\dfrac{13}{20}}[/tex]
[tex]e)\quad \dfrac{\text{Gryffindor + Do NOT use magic}}{\text{Total at party}}=\dfrac{0.40+0.75-0.36}{1.00}=\large\boxed{\dfrac{79}{100}}[/tex]