Answer:
Empirical formula of the hydrocarbon is
.
Step-by-step explanation:
Mass of carbon dioxide produced = 12.5 g
Moles of carbon dioxide =

Moles of carbon atom in 0.2841 moles of carbon dioxide:
1 × 0.2841 mol = 0.2841 mol
Mass of water produced = 4.28 g
Moles of water =

Moles of hydrogen in water = 2 × 0.2378 mol = 0.4756 mol
For empirical formula divide the moles of element which are is less amount with all the moles of every element.
Carbon =

Hydrogen =

Empirical formula of the hydrocarbon is
.