pipe a can fill a tank in 12 minutes and pipe b cam empty it in 24 minutes . if both the pipes are opened together after how many minutes should pipe b be closed , so that the tank is filled in 30 minutes ?
"let the pipe b be closed after x minutes . 30 / 12 - x / 24 = 1 = > x / 24 = 30 / 12 - 1 = 3 / 2 = > x = 3 / 2 * 24 = 36 . answer : e"
multiply(subtract(divide(30, 12), const_1), 24)