# Thermodynamics problem

1. Oct 23, 2005

### thenewbosco

hello the problem is as stated:
a cylinder containing n moles of an ideal gas undergoes an adiabatic process. using $$W=-\int Pdv$$ and using the condition $$PV^\gamma=constant$$, show that the work done is:
$$W=(\frac{1}{\gamma - 1}(PfVf - PiVi)$$ where Pf is final pressure, Pi is initial pressure...
I tried substituting that $$P=\frac{constant}{V^\gamma}$$ into the integral, and evaluating from Vi to Vf, but this still leaves the gamma as an exponent. how can i go about solving this one?
thanks

2. Oct 24, 2005

### ehild

Replace back $$V^{\gamma}$$ by constant/P.

ehild