Understand how pressure, volume, and temperature are state functions related by a formula known as the ideal gas law. Contrast these variables with work and heat, learning why they are not state functions. See how the ideal gas law can be used to calculate the work done by a piston.