Ideal gas law problems thermodynamics pdf