EN
We present the model of superconducting ceramics using the single band extended Hubbard Hamiltonian. We investigate the simultaneous presence of antiferromagnetism and d-wave superconductivity in the coherent potential approximation applied to the on-site Coulomb repulsion U. We consider the hopping interaction, Δt, the inter-site charge-charge interaction, V (creating superconductivity), and the single site Hund type exchange interaction, F_{in} (creating antiferromagnetism). The influence of these interactions on the separation of superconducting and antiferromagnetic phases near the half-filling point is investigated. Results are compared with the experimental data for YBaCuO and NdCeCuO compounds.