there are 3 vessels of equal capacity . vessel a contains milk and water in the ratio 7 : 3 ; vessel b contains milk and water in the ratio 2 : 1 and vessel c contains milk and water in the ratio 3 : 2 . if the mixture in all the 3 vessels is mixed up . what will be the ratio of milk and water ?
7 : 3 = > 7 x + 3 x = 10 x 2 : 1 = > 2 y + 1 y = 3 y 3 : 2 = > 3 z + 2 z = 5 z 10 x = 3 y = 5 z take lcm of 10 , 3,5 = 30 or simply ; x = 3 y = 10 z = 6 so , ratio of milk : water = ( 7 x + 2 y + 3 z ) / ( 3 x + y + 2 z ) = 59 / 31 ans : a
divide(add(add(multiply(7, multiply(add(2, 1), add(3, 2))), multiply(2, multiply(add(7, 3), add(3, 2)))), multiply(3, multiply(add(7, 3), add(2, 1)))), add(add(multiply(3, multiply(add(2, 1), add(3, 2))), multiply(1, multiply(add(7, 3), add(3, 2)))), multiply(2, multiply(add(7, 3), add(2, 1)))))