Question
A box contains 8 red, 5 green, and 7 blue balls. Two
balls are drawn at random without replacement. What is the probability that both balls drawn are of different colors?Solution
Total number of balls = 8 + 5 + 7 = 20. The total number of ways to choose 2 balls from 20 is: C(20, 2) = (20 × 19) / 2 = 190. Now, the number of ways to choose 2 balls of different colors: Red and Green: 8 × 5 = 40 Red and Blue: 8 × 7 = 56 Green and Blue: 5 × 7 = 35 So, the total number of ways to choose 2 balls of different colors = 40 + 56 + 35 = 131. Therefore, the probability is: P(different colors) = 131 / 190 Correct Option: a)Â
Which property of a transaction ensures that it leaves the database in a consistent state, even in case of errors or failures?
Which command is used to rename a file in a Unix/Linux system?
How does blockchain achieve its tamper-resistant quality?
What is the primary purpose of virtual memory in a computer system?
Which RAID level is often used to maximize storage capacity and does not provide data redundancy or fault tolerance?
Which programming language is used to add interactivity and dynamic content to websites?
What is the main purpose of subnetting?
What is the primary difference between a "Virus" and a "Worm" in the context of cybersecurity?
What is the unit of electric current?
The maximum number of binary trees that can be formed with three unlabeled nodes is: