Determination of empirical formula of magnesium oxide