tough and tricky questions : mixture problems . a drink holding 6 ounces of an alcoholic drink that is 1 part rum to 2 parts coke is added to a jug holding 35 ounces of an alcoholic drink that is 1 part rum to 3 parts coke . what is the ratio of rum to coke in the resulting mixture ?
answer = b ) 5 : 15 . . . . . . . . . . . . . . . . . . . . . . . . rum . . . . . . . . . . . . . . . . . . . . . coke . . . . . . . . . . . . . . . . . total first drink . . . . . . . . . . . 2 . . . . . . . . . . . . . . . . . . . . . . . . . . . . 4 . . . . . . . . . . . . . . . . . . . . . 6 ( ratio 1 : 2 ) second drink . . . . . . . 8 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24 . . . . . . . . . . . . . . . . . . . 32 ( ratio 1 : 3 ) total . . . . . . . . . . . . . . . . . . 10 . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 . . . . . . . . . . . . . . . . . . . . 38 ratio = 10 : 30 = 5 : 15 b
divide(add(divide(6, const_3), divide(35, multiply(2, divide(6, const_3)))), multiply(add(divide(6, const_3), divide(35, multiply(2, divide(6, const_3)))), const_3))