a person x working alone can complete a work in 5 days . a person y completes the same amount of work in 20 days , and a person z when working alone can complete the same amount of work in 30 days . all 3 people work together for 2 days but then x and y leave . how many more days does z need to complete the work after x and y leave ?
the fraction of work completed in two days is 2 / 5 + 2 / 20 + 2 / 30 = 17 / 30 the fraction of work remaining is 1 - 17 / 30 = 13 / 30 the number of days required for z is 13 days . the answer is a .
divide(subtract(const_1, multiply(add(add(divide(const_1, 5), divide(const_1, 20)), divide(const_1, 30)), 2)), divide(const_1, 30))