To calculate the final pressure of the system, we use the equation given by Gay Lussac' Law. This law states that pressure of the gas is directly proportional to the temperature of the gas at constant volume.
Mathematically,
where,
are the initial pressure and temperature of the gas.
are the final pressure and temperature of the gas.