A gas initially at STP is heated to 50°C keeping the volume constant. What is its new pressure?

I used this formula:
P1 = 1 atm
T1 = 273 K
T2 = 323 K
solve for P2
P2 = P1 (T2/T1)

But, where do I use the 50 degrees C?
Also, is my answer correct:
P2 = 1atm x 323K/273K = 1.18 atm

1 answer

Yes, your answer is correct. The 50 C is the 323 K.