I came up with this question a while ago, and my Physics teacher and I just can't get the math to work. Here it is: A cylindrical container of base area A and height h holds some number of moles, n, of an ideal gas. One end of the container is movable, and a force F is applied to that end. If the rate of compression of the gas is constant, i.e. the derivative of h with respect to time is constant, and the process is adiabatic, what is the equation of F as a function of time? If this isn't clear enough, let me know.