Understanding the working principle of a portable gas cartridge-type fire extinguishers.