Given,
Total number of marbles =24
P(green marbles)=23
We know that,
P(green marbles) + P(blue marbles) =1
Because the sum of probabilities of an event and its complementary event is always 1.
⇒ P(blue marbles) = 1 - P(green marbles) =1−23=13
Therefore, P(blue marbles) =13
Now, probability × total outcomes = favourable outcomes
⇒ Number of blue marbles = P(blue marbles) × 24
⇒ 13 × 24 = 8
And, number of green marbles = 24 - 8 = 16,
or, ⇒ Number of green marbles = P(green marbles) × 24
⇒ 23 × 24 = 16