Given:
C= 58.8% ,
H= 9.8% ,
and O=31.4 %
molar mass is = 102 g/mol.
empirical formula=
58.8/C(12.01)= 4.9
9.8/H(1.01)= 9.7
31.4/O(15.99)= 1.96
divide it by the least value so it is 1.96 which shows,
4.9/1.96= 2.5
9.7/1.96= 5
(C2.5H5O)2= C5H10O2
molecular formula= C10H20O4