To solve this problem, let's calculate the net flow rate of filling or draining the tank for each minute.
Pipe B fills the tank at a rate of 25 liters/minute, so for the 1 minute it is open, it fills 25 liters.
Pipe A fills the tank at a rate of 100 liters/minute, so for the 1 minute it is open, it fills 100 liters.
Pipe C drains the tank at a rate of 50 liters/minute, so for the 1 minute it is open, it drains 50 liters.
Therefore, the net flow rate for each cycle of opening and closing the three pipes is:
Net flow rate = (25 + 100) - 50 = 75 liters/minute.
To fill a 7000-liter tank, we need to calculate how many cycles of opening and closing the three pipes are required:
7000 liters / 75 liters/minute = 93.33 minutes.
Since the time is given in minutes, we round up to the nearest whole number, which gives us 94 minutes.
However, we need to consider that the last cycle may not take a full minute if the tank becomes full before the end of that minute. In this case, we need to calculate the remaining time to fill the tank.
The remaining capacity of the tank after 93 cycles is:
7000 liters - (93 cycles * 75 liters/cycle) = 7000 - 6975 = 25 liters.
Since pipe A fills the tank at a rate of 100 liters/minute, it will take 25 liters / 100 liters/minute = 0.25 minutes to fill the remaining capacity.
Adding the remaining time to the previous time gives us:
94 minutes + 0.25 minutes = 94.25 minutes.
Therefore, it will take approximately 94.25 minutes to fill the tank.
Among the given options, the closest answer is:
D. 277 mins 45 sec.