A gas contained in a steel tank has a pressure of 1.5 atm at…