6\(\frac{2}{3}\) days
To solve the problem, we need to find the time taken by A and B working together to complete the work.
- Work Rate: If A can complete the work in 12 days, A's 1 day work = \( \frac{1}{12} \)
- Similarly, B's 1 day work = \( \frac{1}{15} \)
- When working together, their combined 1 day work = sum of individual 1 day works.
- Total time taken together = reciprocal of combined 1 day work.
- A's time = 12 days
- B's time = 15 days
\[ \text{Combined work rate} = \frac{1}{12} + \frac{1}{15} = \frac{5}{60} + \frac{4}{60} = \frac{9}{60} = \frac{3}{20} \] \[ \text{Time taken} = \frac{1}{\text{Combined work rate}} = \frac{1}{\frac{3}{20}} = \frac{20}{3} = 6\frac{2}{3} \text{ days} \]
A and B working together will complete the work in 6\(\frac{2}{3}\) days or 6 days and 8 hours.