what is the probability that the sum of two dice will yield a 4 , and then when both are thrown again , their sum will again yield a 4 ? assume that each die has 3 sides with faces numbered 1 to 3 .
"solution - rolling dices is an independent event . the combinations to get 4 are ( 1,3 ) , ( 3,1 ) , ( 2,2 ) , and total combinations of both dices is 9 . the probability of getting 4 in first attempt is 3 / 9 = 1 / 3 . probability of getting 4 again in second attempt = ( 1 / 3 ) * ( 1 / 3 ) = 1 / 9 . ans c"
multiply(divide(3, power(3, const_2)), divide(3, power(3, const_2)))