Using the ideal gas equationPV = NRT(N is number of moles)P0V0=NiR×290 .....(1) [Ti=273+17=290K]After heating P0V0=NfR×300 .....(2) [Tf=273+27=300K] from equation (1) and (2)Nf−Ni=R×300P0V0−R×290P0V0difference in number of moles −RP0V0[290×30010]Hence nf−ni is=RP0V0×[290×30010]×6.023×1023puttingP0=105PA and V0−30m3Number of molecules nf−ni=−2.5×1025