In this paper, we have considered that the strange-star consists of quark matter from its center to surface. For quark matter, we have used two models, the MIT bag model and string-flip like model. In the bag model, the energy of the system has been considered the kinetic energy of the particles of system in addition to a constant B. We have considered two states for B, one of them is constant...