In a fixed volume of a gas, an increase in temperature results in an increase…