An increase in temperature causes an increase in pressure of a gas in a fixed…