To find the time taken to fill the tank when both pipes A and B are turned on simultaneously, we can use the concept of the rate of work.
Pipe A fills the tank in 10 h, so its rate is 1/10 of the tank per hour.
Pipe B fills the tank in 15 h, so its rate is 1/15 of the tank per hour.
When both pipes are working together, their rates add up:
\(\frac{1}{10} + \frac{1}{15}\)
To add these fractions, find a common denominator, which is 30:
\(\frac{3}{30} + \frac{2}{30} = \frac{5}{30} = \frac{1}{6}\)
Thus, together, both pipes fill \(\frac{1}{6}\) of the tank in one hour.
This implies the tank will be filled in 6 hours when both pipes are used together.
The correct answer is 6 h.