PV=nRT

solve for T

divide both sides by nR