Given:
Ram and Naresh together can complete the work in 20 days.
Naresh and Shyam together can complete the work in 15 days.
All three (Ram, Naresh, and Shyam) together can complete the work in 12 days.
Formula used:
The rate of work is the reciprocal of the time taken to complete the work.
If Ram, Naresh, and Shyam together complete the work in 12 days, then their combined rate of work is:
Rate of work = 1 / Time taken = 1 / 12
Let:
Ram's rate of work = Rr
Naresh's rate of work = Rn
Shyam's rate of work = Rs
From the given data, we can form the following equations based on the rates of work:
- Rr + Rn = 1 / 20 (Ram and Naresh together complete the work in 20 days)
- Rn + Rs = 1 / 15 (Naresh and Shyam together complete the work in 15 days)
- Rr + Rn + Rs = 1 / 12 (All three together complete the work in 12 days)
Calculation:
From equation (1): Rr + Rn = 1 / 20
From equation (2): Rn + Rs = 1 / 15
From equation (3): Rr + Rn + Rs = 1 / 12
Now, subtract equation (1) from equation (3):
(Rr + Rn + Rs) - (Rr + Rn) = 1 / 12 - 1 / 20
β Rs = (1 / 12 - 1 / 20)
Find a common denominator for the fractions:
β Rs = (5 - 3) / 60
β Rs = 2 / 60 = 1 / 30
So, Shyam's rate of work is 1 / 30.
Now, substitute Rs = 1 / 30 into equation (2):
Rn + 1 / 30 = 1 / 15
β Rn = 1 / 15 - 1 / 30
β Rn = (2 - 1) / 30
β Rn = 1 / 30
Now, substitute Rn = 1 / 30 into equation (1):
Rr + 1 / 30 = 1 / 20
β Rr = 1 / 20 - 1 / 30
Find a common denominator for the fractions:
β Rr = (3 - 2) / 60
β Rr = 1 / 60
Finally, calculate the rate of work of Ram and Shyam together:
Rr + Rs = 1 / 60 + 1 / 30
β Rr + Rs = (1 + 2) / 60
β Rr + Rs = 3 / 60 = 1 / 20
Therefore, Ram and Shyam together can complete the work in 20 days.
β΄ The time taken by Ram and Shyam together to complete the work is 20 days.