Problem Statement
A can complete a job in 6 hours and B can complete the same job in 3 hours. Working together, how long will they take to finish the job?
Explanation
Work rates add linearly. A’s rate = 1/6 job/hour; B’s rate = 1/3 job/hour. Together, 1/6 + 1/3 = 1/6 + 2/6 = 3/6 = 1/2 job per hour, so they take 2 hours for one job.
Code Solution
SolutionRead Only
together rate = 1/6 + 1/3 = 1/2 ⇒ time = 1 ÷ (1/2) = 2 h
