In this paper we study the relation ship between spin density wave(SDW) and supercon-rnducting order parameters in ferropnictides , the superconducting transition temperaturernand SDW transition temperatures.We use the Model Hamiltonian which is written inrnquantized form using annihilation and creation operators.We also study the coexistencernof SDW and SC for (Ba;K)Fe2As2 system, the SDW-and superconductivity in an ex-rntended range of composition. The ternary iron arsenide BaFe2As2 becomes supercon-rnducting by hole doping which was achieved by partial substitution of the barrium site withrnpotassium.We also investigate the e ect of spin density wave on superconductivity, therncoexistence of SDW and superconductivity for (Ba1À€€xKxFe2As2) using phase diagramrnand the e ect of doping on the transition temperature