A gas occupies a volume of 400 cm^3 at 500K and 1 atmosphere pressure. What will be the temperature of the gas when the volume and pressure of the gas is 100 cm^3 and 0.5 atmospheres respectively