5 ml of a gaseous hydrocarbon(CxHy) was exploded with 30 ml of oxygen. The resulting gas on cooling to room temperature is found to measure 25 ml of which 10 ml are absorbed by NaOH and the remainder by pyrogallol. The value of x+y is?
Balanced equation
CxHy+(x+y4)O2⟶xCO2+y2H2O(l)
5 mL 30 mL
0 30−5(x+y4)
5x
since 5x=10 ⇒ x=2
30−5(x+y4)=15⇒y=4
Therefore formula of hydrocarbon = CxHy
x + y = 2 + 4 = 6