In order to account for the observed cosmic acceleration, a modification of the ansatz for the variation of density in Friedman-Robertson-Walker (FRW) models given by Islam is proposed.The modified ansatz leads to an equation of state which corresponds to that of a variable Chaplygin gas, which in the course of evolution reduces to that of a modified generalized Chaplygin gas (MGCG) and a Chaplygin gas (CG), exhibiting late-time acceleration.We consider the homogeneous and isotropic Robertson-Walker space-timedescribed by its scale factor R(t) and curvature parameter k = 0, ±1. The universe is assumed to be filled with a distribution of matter represented by the energy-momentum tensor of a perfect fluid given bywhere ρ is the energy density of the cosmic matter and p is its pressure. The Einstein field equationsfor the space-time (1) yield the following two independent equations 8πGρ = 3Ṙ 2 R 2 + 3 k R 2 (4)1