Thermodynamic Computation and Analysis for the Carbothermic Reduction of TiO2