amit and ananthu can do a work in 15 days and 45 days respectively . amit started the work and left after 3 days . ananthu took over and completed the work . in how many days was the total work completed ?
"amit ’ s one day ’ s work = 1 / 15 amit ’ s 3 day ’ s work = 1 / 15 * 3 = 1 / 5 work left = 1 - 1 / 5 = 4 / 5 ananthu ’ s one day ’ s work = 1 / 45 ananthu can do work in = 4 / 5 * 45 = 36 days so total days = 36 + 3 = 39 days answer : e"
add(divide(subtract(const_1, multiply(inverse(15), 3)), inverse(45)), 3)