You can put this solution on YOUR website! probability(P) of getting a head on a fair coin toss = 1/2
:
P of getting 3 heads in a row is (1/2)^3 = 1/8
:
the same reasoning holds for 3 tails, therefore
:
P(a fair coin, tossed 3 times is all heads or all tails) = 1/8 + 1/8 = 2/8 = 1/4