

InterviewSolution
Saved Bookmarks
1. |
One number is chosen at random from the number 1 to 21. What is the probability that it is prime. |
Answer» Sample space n(S) = 21 Prime numbers from 1 to 21 are 2, 3, 5, 7, 11, 13, 17, 19. It ‘E’ be the event of getting a prime number, then n(E) = 8 ∴ p(E) = \(\frac{n(F)}{n(S)}\) = \(\frac{8}{21}\) ∴ The Probability that the number is prime = \(\frac{8}{21}.\) probability of getting prime number = 8/21 = 0.38 |
|