The probability that a single event A occurs is:
[tex]P=\frac{\text{ number of favorable outcomes of A}}{\text{ total number of outcomes}}[/tex]The probability of two consecutive events A and B is:
[tex]P=P(A)*P(B)[/tex]Let's calculate the probability of event A: getting heads.
Favorable outcome: heads.
Number of favorable outcomes: 1.
Total outcomes: heads, tails.
Number of total outcomes: 2.
So:
[tex]P(A)=\frac{1}{2}[/tex]Let's calculate the probability of event B: getting heads in the second flip.
Favorable outcome: heads.
Number of favorable outcomes: 1.
Total outcomes: heads, tails.
Number of total outcomes: 2.
So:
[tex]P(B)=\frac{1}{2}[/tex]Finally, let's find the probability of getting heads twice.
[tex]\begin{gathered} P=P(A)*P(B) \\ P=\frac{1}{2}*\frac{1}{2}=\frac{1}{4} \end{gathered}[/tex]Finding the probability in percentual:
[tex]\begin{gathered} P=\frac{1}{4}*100 \\ P=25\% \end{gathered}[/tex]Answer: 1/4 = 25%.