When the gas is suddenly compressed heat does not find time to flow in or out.
When a system undergoes a change under the condition that no exchange of heat takes place between the system and surroundings, then such a process is called adiabatic process. In this case gas is suddenly compressed, hence it is adiabatic process, the relation between temperature ( T ) and pressure (P) is Pγ−1Tγ= constant
where γ is ratio of specific heats.
Given, T1=27∘C=27+273=300K,P1=P,P2=8P,γ=35 ∴T2T1=(P2P1)γγ−1 ⇒T2T1=(18)5/335−1 =(8)0.4 =2.297 ⇒T2=2.297T1=2.297300 =130.6K≃131K ⇒T2=131−273 =−142∘C
Note: Gas has been suddenly compressed hence its internal energy is used in doing work against external pressure and temperature of gas falls.