from a group of 3 women and 3 girls , 4 are to be randomly selected . what is the probability that equal numbers of women and girls will be selected ?
using the first example , here is the probability of that exact sequence occurring : wwgg = ( 3 / 6 ) ( 2 / 5 ) ( 3 / 4 ) ( 2 / 3 ) = 36 / 360 = 1 / 10 each of the other 5 options will yield the exact same probability . . . . wgwg = ( 3 / 6 ) ( 3 / 5 ) ( 2 / 4 ) ( 2 / 3 ) = 36 / 360 = 1 / 10 so we have 6 different options that each produce a 1 / 10 chance of occurring . 6 ( 1 / 10 ) = 6 / 10 = 3 / 5 final answer : a
divide(multiply(choose(3, const_2), choose(3, const_2)), choose(add(3, 3), 4))