Ideal gas law: p·V = n·R·T.
p = 15.0 atm; pressure of gas.
V = 100 mL ÷ 1000 mL/L.
V = 0.100 L; volume of gas.
n = 0.500 mol; amount of substance.
R = 0,08206 L·atm/mol·K; universal gas constant.
T = ?; temperature of gas.
T(gas) = p · V ÷ (R · n).
T(gas) = 15.0 atm · 0.1 L ÷ (0,08206 L·atm/mol·K · 0.5 mol).
T(gas) = 36,500 K; calculation is correct.