A new method for the simultaneous determination of pyrite content and proximate analysis in coal