Problem: a can do a piece of work in 90 days & y can do it in 80 days . they began working together but a leaves after some days and then b completed the remaining work in 46 days . the number of days after which a left the work was ?
Rationale: a and b did the work for some days . after that , b completed the remaining work in 46 days . in 46 days , word done by b = 1 80 x 46 = 23 45 remaining work = 1 – 23 / 45 = 17 / 45 remaining work is done by both a and b together = 17 / 45 x 90 x 80 / 90 + 80 = 16 days c
annotated_formula: subtract(divide(subtract(const_1, multiply(divide(const_1, 80), 46)), add(divide(const_1, 80), divide(const_1, 90))), const_2)