Solution:Let the number of valves allotted to fill the tank be 'y'.
The number of valves allotted for draining purpose will be (15 - y)
A value used for filling fills the purifier in 15 hours.
So, in 1 hour it can fill 1/15th part of the purifier.
Similarly, a value used for draining drains the purifier in 30 hours. So, in 1 hour it can drain 1/30th part of the purifier.
Given, it took 2 hours to fill with all valves open. So, the equation becomes
(2xy)/15 - (2x(15-y))/30 = 1
On solving, we get y = 10
Therefore number of valves allotted to fill the purifier = 10
The number of valves allotted to drain the purifier will be 5
Percentage of valves allotted for draining purpose = 5/15 × 100 = 33.33%