Initial pressure, Pi=90 kPa
Initial temperature of vessel 1, T1=400 K
Initial temperature of vessel 2, T2=400 K
Final pressure, Pf=?
Final temperature of vessel 1, T1′=400 K
Final temperature of vessel 2, T2′=500 K
the total number of moles of air initially is equal to the total number of moles of air finally.
By the ideal gas law (PV=nRT), the number of moles n=RTPV.
Conservation of moles:
ninitial=nfinal
n1i+n2i=n1f+n2f
RT1PiV+RT2PiV=RT1′PfV+RT2′PfV
Pi(T11+T21)=Pf(T1′1+T2′1)
90(4001+4001)=Pf(4001+5001)
90(4002)=Pf(20005+4)
90(2001)=Pf(20009)
20090=Pf(20009)
Solve for Pf:
Pf=20090×92000
Pf=(990)×(2002000)
Pf=10×10
Pf=100 kPa