Answer:
The probability is
![(5)/(16)](https://img.qammunity.org/2020/formulas/mathematics/middle-school/mzxawhgvp4xmi743zb7ym7pya3ln4eqay3.png)
Explanation:
Given is that a fair coin is tossed 5 times in a row.
This gives total number of outcomes as =
![2*2*2*2*2=32](https://img.qammunity.org/2020/formulas/mathematics/middle-school/s9a1adwetc2ob5g1pvpaoij9ofsndhdc08.png)
As its needed that heads comes exactly 2 times, so favorable outcomes are = 5C2
![(5!)/(2!(5-2)!)](https://img.qammunity.org/2020/formulas/mathematics/high-school/j0w6yjyj3bexdg83ahufbgalofex9dskw5.png)
Solving this we get 10
Therefore, the probability of getting heads exactly 2 times is =
![(10)/(32)=(5)/(16)](https://img.qammunity.org/2020/formulas/mathematics/high-school/68kl5idsudv7ex98y12cv4iy8bxfdyjxi0.png)