Study on solid state reaction process of the YBa2Cu3O7−x compound