4 dices are thrown at the same time . what is the probability of getting only 2 dices showing the same face ?
probability of getting two same faces : 1 and 1 / 6 for other two faces , probabilities : 5 / 6 and 4 / 6 respectively . the dice combinations can be arranged in 4 ! / 2 ! ways total probability = 1 * 1 / 6 * 5 / 6 * 4 / 6 * 4 ! / 2 ! = 5 / 9 answer : b
divide(multiply(multiply(multiply(choose(4, 2), const_6), const_5), const_4), power(const_6, const_4))