The application of thermogravimetry to the preparation of ferrites with varying stoichiometry