two vessels p and q contain 62.5 % and 87.5 % of alcohol respectively . if 2 litres from vessel p is mixed with 8 litres from vessel q , the ratio of alcohol and water in the resulting mixture is ?
"quantity of alcohol in vessel p = 62.5 / 100 * 2 = 5 / 4 litres quantity of alcohol in vessel q = 87.5 / 100 * 4 = 7 / 1 litres quantity of alcohol in the mixture formed = 5 / 4 + 7 / 1 = 33 / 4 = 8.25 litres as 10 litres of mixture is formed , ratio of alcohol and water in the mixture formed = 8.25 : 1.75 = 33 : 7 . answer : b"
divide(add(divide(multiply(62.5, 2), const_100), divide(multiply(87.5, 8), const_100)), add(subtract(2, divide(multiply(62.5, 2), const_100)), subtract(8, divide(multiply(87.5, 8), const_100))))