In a throw of two coins, find the probability of getting both heads or tails.
Step 1: Find the number of favorable outcomes:
The sample space obtained when throwing two coins will be
Thus, the number of possible outcomes will be
Also, the favorable outcomes of getting both heads or tails is
Thus, the number of favorable outcomes will be
Step 2: Use the formula for probability:
Thus, the probability will be,
Hence, the probability of getting both heads or tails will be .