Determining the temperature and density of the universe