Aptitude Discussion

Q. |
$A$ can complete a project in 20 days and $B$ can complete the same project in 30 days. If $A$ and $B$ start working on the project together and $A$ quits 10 days before the project is completed, in how many days will the project be completed? |

✔ A. |
18 |

✖ B. |
27 |

✖ C. |
26.67 |

✖ D. |
16 |

**Solution:**

Option(**A**) is correct

If $A$ can do complete a project in 20 days, then $A$ will complete \(\left(\dfrac{1}{20}\right)^{th}\)of the project in a day.

Similarly, $B$ will complete \(\left(\dfrac{1}{30}\right)^{th}\) of the project in a day.

Let the total number of days taken to complete the project be $x$ days.

Then, $B$ would have worked for all $x$ days, while $A$ would have worked for $(x–10)$ days.

Therefore, $A$ would have completed $\dfrac{x-10}{20}$ of the project and B would have completed $\dfrac{x}{30}$ of the project.

$\Rightarrow \dfrac{x-10}{20} + \dfrac{x}{30}=1$

Solving for $x$, we get $x$ = **18**.

**Dhiraj**

*()
*

**Ranjit Mishra**

*()
*

I am getting 27 with a different approach.

A and B can complete work in one day together = 1/20+1/30 = 1/12

So they can complete work in 12 days together.

Since A left before 10 days so work done together in 2 days = (1/12)*2 = 1/6

Work left to be done = 1-(1/6) = 5/6

Days taken by B = (5/6)/(1/30) = 25 days

Total time taken = 25 +2 = 27 days. .

how is this possible?? have I missed something

i am getting the same answer 27 days

**Lokesh**

*()
*

Is the following equation correct for the problem:

$\frac{x-10}{20}+\frac{x}{30}=1$

Yes that is correct equation.

Its simple

A's work done = 1/20, B's work done = 1/30

If both A & B work together, then work done = (1/20+1/30) = 1/12

Means, both A & B can complete the Project in 12 days only.

Now, it is mentioned that A left project before 10 days of completion, means both work for only 2 days (12-10=2 Days).

Hence, work done by A & B in 2 days = 2 X (1/12) = 1/6, balance work 1-1/6=5/6 is done by B in (5/6 X 30 = 25 Days).

Hence, Project will complete in 2 Days' of both A & B + 25 days of B alone = 27 Days.