The Friedmann equations can be solved exactly in presence of a perfect fluid with equation of state p = w ρ ρ c 2 , where p is the pressure, ρ is the mass density of the fluid in the comoving frame and w is some constant.