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