A coin is tossed two times. Find the probability of getting both heads and both tails.
Let E be the event of getting both heads or both tails.
The sample space for the given experiment is {(H, H), (H, T), (T, H), (T, T)}
Total number of outcomes = 4
Favorable outcomes = {(H, H), (T,T)}
Favorable number of outcomes = 2
Required probability, P (E) =
Favorable number of outcomesTotal number of outcomes=24=12