Step 1:
The probability of an event is calculated by the formula:
\[ P(E) = \frac{n(E)}{n(S)} \]
where \( P(E) \) is the probability of event E, \( n(E) \) is the number of favorable outcomes, and \( n(S) \) is the total number of outcomes in the sample space.
Show more…