pipe a can fill the tank in 30 minutes and pipe b can empty the tank in 90 minutes. how long it will take to fill the tank if both pipes are operating together? Choose one.
A) 30	B) 35	C) 40	D) 45	E) 50
<gadget id="calculator">1 / 30</gadget>
<output>1/30 = around 0.033333</output>

<gadget id="calculator">1 / 90</gadget>
<output>1/90 = around 0.011111</output>

<gadget id="calculator">(1/30) - (1/90)</gadget>
<output>1/45 = around 0.022222</output>

<gadget id="calculator">1 / (1/45)</gadget>
<output>45</output>

<result>D</result>
pipe a can fill the tank in 30 minutes and pipe b can empty the tank in 90 minutes. how long it will take to fill the tank if both pipes are operating together?
divide(const_1, subtract(divide(const_1, 30), divide(const_1, 90)))
pipe a fills 1 / 30 th of the tank in a minute and pipe b empties 1 / 90 th of the tank ( 1 / 30 ) - ( 1 / 90 ) = ( 1 / x ) 2 / 90 = 1 / x = > x = 45 answer : d