Considering some modified Newtonian potentials and the Hubble law in writing the total energy of a test mass located at the edge of a flat Friedmann–Robertson–Walker (FRW) universe, we obtain several modified Friedmann equations. Interestingly enough, our study shows that the employed potentials, while some of them have some successes in modeling the spiral galaxies rotation curves, may also address an accelerated universe. This fact indicates that dark energy and dark matter may have some common origins and aspects.