S and T can do a piece of work in 40 days and 24 days respectively. S started the work alone and then after 5 days T joined him till the completion of the work. How long did the work last?
18.125 days
Work done by S in 5 days = (140 × 5) = 18,
Remaining work = (1 − 18) = 78
(S + T)'s 1 day's work = (140 + 124) = 8120 = 115
Now, 115 work is done by S and T in 1 day.
So, 78 work will be done by S and T in (15 × 78) \\ = 13.125 days
Hence, total time taken = (13.125 + 5) days = 18.125 days