# What is the molecular formula of the hydrocarbon? [closed]

A hydrocarbon is burnt completely in excess oxygen to produce 0.04 mol of carbon dioxide and 0.72 g of water. What is the molecular formula of the hydrocarbon?

## closed as off-topic by Gaurang Tandon, Klaus-Dieter Warzecha, MaxW, aventurin, Loong♦Mar 24 '18 at 13:55

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

• Hi Cheong! welcome to Chem.SE! We require you to show your efforts on this problem. What formulae/steps did you try? Please add this to your question. Thanks! – MollyCooL Mar 24 '18 at 7:25

The formula is: $C_nH_{2n}$